VersionFileModule

mill.contrib.versionfile.VersionFileModule
See theVersionFileModule companion object
trait VersionFileModule extends Module

Attributes

Companion
object
Source
VersionFileModule.scala
Graph
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

object moduleInternal extends Internal

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Attributes

Inherited from:
Module
Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Concrete methods

The current version.

The current version.

Attributes

Source
VersionFileModule.scala
def generateCommitMessage(version: Version): String

Attributes

Source
VersionFileModule.scala
def nextVersion(bump: String): Task[Version]

The next snapshot version.

The next snapshot version.

Attributes

Source
VersionFileModule.scala
def push: Simple[Seq[proc]]

Procs for committing changes and pushing.

Procs for committing changes and pushing.

Attributes

Source
VersionFileModule.scala

The release version.

The release version.

Attributes

Source
VersionFileModule.scala
def setNextVersion(bump: String): Command[Unit]

Writes the next snapshot version to file.

Writes the next snapshot version to file.

Attributes

Source
VersionFileModule.scala
def setReleaseVersion(): Command[Unit]

Writes the release version to file.

Writes the release version to file.

Attributes

Source
VersionFileModule.scala
def setVersion(version: Task[Version]): Command[Unit]

Writes the given version to file.

Writes the given version to file.

Attributes

Source
VersionFileModule.scala
def tag: Simple[Seq[proc]]

Procs for tagging current version and committing changes.

Procs for tagging current version and committing changes.

Attributes

Source
VersionFileModule.scala

The file containing the current version.

The file containing the current version.

Attributes

Source
VersionFileModule.scala
def writeVersionToFile(versionFile: PathRef, version: Version): Unit

Attributes

Source
VersionFileModule.scala

Inherited methods

Attributes

Inherited from:
BaseClass
Source
Module.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Module -> Any
Inherited from:
Module
Source
Module.scala

Implicits

Implicits

implicit val procReadWriter: ReadWriter[proc]

Attributes

Source
VersionFileModule.scala
implicit val shellableReadWriter: ReadWriter[Shellable]

Attributes

Source
VersionFileModule.scala