Utilities to derive a useful version string from the Git commit history, including the latest tag, the commit SHA for non-tagged commits, number of commits since latest tag, and a DIRTY suffix for workspaces with un-committed changes. Used via VcsVersion.Module.vcsState.format()
Originally distributed under the Apache License, Version 2.0 as https://github.com/lefou/mill-vcs-version
Attributes
- Companion
- trait
- Source
- VcsVersion.scala
- Graph
-
- Supertypes
-
trait VcsVersionclass ExternalModuleclass RootModule0trait BaseModuleApitrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
- Self type
-
VcsVersion.type
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- VcsVersion.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- VcsVersion.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
State.type
Attributes
- Source
- VcsVersion.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited classlikes
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
Value members
Concrete methods
Attributes
- Source
- VcsVersion.scala
Inherited methods
Attributes
- Inherited from:
- VcsVersion
- Source
- VcsVersion.scala
Attributes
- Inherited from:
- RootModule0
- Source
- RootModule0.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Definition Classes
- Inherited from:
- ExternalModule
- Source
- ExternalModule.scala
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
Attributes
- Inherited from:
- VcsVersion
- Source
- VcsVersion.scala
Calc a publishable version based on git tags and dirty state.
Calc a publishable version based on git tags and dirty state.
Attributes
- Returns
-
A tuple of (the latest tag, the calculated version string)
- Inherited from:
- VcsVersion
- Source
- VcsVersion.scala
Alternative to vcsState, if you need this task being an input task.
Alternative to vcsState, if you need this task being an input task.
This is only necessary, if you need a changed calculated version to trigger a rebuild in --watch mode.
Attributes
- Inherited from:
- VcsVersion
- Source
- VcsVersion.scala
Concrete fields
Attributes
- Source
- VcsVersion.scala
Implicits
Implicits
Attributes
- Source
- VcsVersion.scala