-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from nightscape/mill-0.12
Update to Mill 0.12
- Loading branch information
Showing
7 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
plugin/src-mill0.10/io/kipp/mill/ci/release/BaseCiReleaseModule.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.kipp.mill.ci.release | ||
|
||
import mill.Module | ||
|
||
/** Helper module extending PublishModule. We use our own Trait to have a bit | ||
* more control over things and so that we can set the version for example for | ||
* the user. This should hopefully just be one less thing they need to worry | ||
* about. The entire goal of this is to make it frictionless for a user to | ||
* release their project. | ||
*/ | ||
trait BaseCiReleaseModule extends Module { | ||
lazy val millDiscover: mill.define.Discover[this.type] = | ||
mill.define.Discover[this.type] | ||
} |
14 changes: 14 additions & 0 deletions
14
plugin/src-mill0.11/io/kipp/mill/ci/release/BaseCiReleaseModule.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.kipp.mill.ci.release | ||
|
||
import mill.Module | ||
|
||
/** Helper module extending PublishModule. We use our own Trait to have a bit | ||
* more control over things and so that we can set the version for example for | ||
* the user. This should hopefully just be one less thing they need to worry | ||
* about. The entire goal of this is to make it frictionless for a user to | ||
* release their project. | ||
*/ | ||
trait BaseCiReleaseModule extends Module { | ||
lazy val millDiscover: mill.define.Discover[this.type] = | ||
mill.define.Discover[this.type] | ||
} |
14 changes: 14 additions & 0 deletions
14
plugin/src-mill0.12/io/kipp/mill/ci/release/BaseCiReleaseModule.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.kipp.mill.ci.release | ||
|
||
import mill._ | ||
|
||
/** Helper module extending PublishModule. We use our own Trait to have a bit | ||
* more control over things and so that we can set the version for example for | ||
* the user. This should hopefully just be one less thing they need to worry | ||
* about. The entire goal of this is to make it frictionless for a user to | ||
* release their project. | ||
*/ | ||
trait BaseCiReleaseModule extends Module { | ||
lazy val millDiscover: mill.define.Discover = | ||
mill.define.Discover[this.type] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package io.kipp.mill.ci.release | ||
|
||
private[release] object Discover { | ||
implicit def millEvaluatorTokenReader | ||
: mainargs.TokensReader[mill.eval.Evaluator] = | ||
mill.main.TokenReaders.millEvaluatorTokenReader | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package io.kipp.mill.ci.release | ||
|
||
import mill.eval.Evaluator | ||
|
||
private[release] object Eval { | ||
|
||
def evalOrThrow(ev: Evaluator): Evaluator.EvalOrThrow = ev.evalOrThrow() | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters