-
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5e5563
commit 39e3674
Showing
45 changed files
with
126 additions
and
104 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
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 |
---|---|---|
@@ -1 +1 @@ | ||
package build.ci | ||
package build.ci |
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
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
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
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ def myScalaVersion = "2.13.8" | |
|
||
println(doesntExist) | ||
|
||
// Scattered throughout | ||
// Scattered throughout |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ object foo extends ScalaModule { | |
def scalaVersion = bar.myScalaVersion | ||
} | ||
|
||
foo.noSuchMethod | ||
foo.noSuchMethod |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package build | ||
def myMsg = "<h1>world</h1>" | ||
|
||
def myOtherMsg = myMsg.substring("0") | ||
def myOtherMsg = myMsg.substring("0") |
2 changes: 1 addition & 1 deletion
2
integration/failure/invalid-meta-module/resources/mill-build/build.mill
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package build | ||
import mill._ | ||
object `package` | ||
object `package` |
2 changes: 1 addition & 1 deletion
2
integration/failure/invalid-package-declaration/resources/sub-2/package.mill
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 |
---|---|---|
@@ -1 +1 @@ | ||
package `sub-2` | ||
package `sub-2` |
2 changes: 1 addition & 1 deletion
2
integration/failure/invalid-subfolder-root-module/resources/build.mill
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 |
---|---|---|
@@ -1 +1 @@ | ||
package build | ||
package build |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package build | ||
import mill._ | ||
|
||
object foo extends RootModule | ||
object foo extends RootModule |
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
package build | ||
import mill._, scalalib._ | ||
|
||
def rootTarget = T{ println("Running rootTarget"); "rootTarget" } | ||
def rootCommand(s: String) = T.command{ println(s"Running rootCommand $s") } | ||
def rootTarget = T { println("Running rootTarget"); "rootTarget" } | ||
def rootCommand(s: String) = T.command { println(s"Running rootCommand $s") } | ||
|
||
object foo extends Module{ | ||
def fooTarget = T{ println(s"Running fooTarget"); 123 } | ||
def fooCommand(s: String) = T.command{ println(s"Running fooCommand $s") } | ||
object foo extends Module { | ||
def fooTarget = T { println(s"Running fooTarget"); 123 } | ||
def fooCommand(s: String) = T.command { println(s"Running fooCommand $s") } | ||
throw new Exception("Foo Boom") | ||
} | ||
|
||
object bar extends Module { | ||
def barTarget = T { println(s"Running barTarget"); "abc" } | ||
def barCommand(s: String) = T.command{ println(s"Running barCommand $s") } | ||
def barCommand(s: String) = T.command { println(s"Running barCommand $s") } | ||
|
||
object qux extends Module{ | ||
object qux extends Module { | ||
def quxTarget = T { println(s"Running quxTarget"); "xyz" } | ||
def quxCommand(s: String) = T.command{ println(s"Running quxCommand $s") } | ||
def quxCommand(s: String) = T.command { println(s"Running quxCommand $s") } | ||
throw new Exception("Qux Boom") | ||
} | ||
} |
3 changes: 1 addition & 2 deletions
3
integration/failure/module-outside-top-level-module/resources/build.mill
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
package build | ||
import mill._ | ||
|
||
|
||
object invalidModule extends Module | ||
|
||
object `package` extends RootModule | ||
object `package` extends RootModule |
2 changes: 1 addition & 1 deletion
2
integration/failure/no-modules-in-helper-file/resources/build.mill
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 |
---|---|---|
@@ -1 +1 @@ | ||
package build | ||
package build |
2 changes: 1 addition & 1 deletion
2
integration/failure/no-modules-in-helper-file/resources/helper.mill
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package build | ||
import mill._ | ||
object foo extends Module | ||
object foo extends Module |
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 |
---|---|---|
|
@@ -5,4 +5,3 @@ import $file.bar | |
object foo extends ScalaModule { | ||
def scalaVersion = bar.myScalaVersion | ||
} | ||
|
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
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
2 changes: 1 addition & 1 deletion
2
integration/failure/root-subfolder-module-collision/resources/build.mill
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package build | ||
import mill._ | ||
|
||
object sub extends Module | ||
object sub extends Module |
2 changes: 1 addition & 1 deletion
2
integration/failure/subfolder-helper-module-collision/resources/build.mill
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 |
---|---|---|
@@ -1 +1 @@ | ||
package build | ||
package build |
2 changes: 1 addition & 1 deletion
2
integration/failure/subfolder-helper-module-collision/resources/sub.mill
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 |
---|---|---|
@@ -1 +1 @@ | ||
package build | ||
package build |
2 changes: 1 addition & 1 deletion
2
integration/failure/subfolder-missing-build-prefix/resources/build.mill
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package build | ||
import mill._ | ||
|
||
val x = sub.y | ||
val x = sub.y |
2 changes: 1 addition & 1 deletion
2
integration/failure/subfolder-missing-build-prefix/resources/sub/package.mill
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package build.sub | ||
|
||
import mill._ | ||
object `package` extends RootModule{ | ||
object `package` extends RootModule { | ||
def y = 1 | ||
} |
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ import mill._ | |
|
||
def invalidTarget = 123 | ||
|
||
|
||
object `package` extends RootModule | ||
object `package` extends RootModule |
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
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
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 @@ | ||
|
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
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
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
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
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
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
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
Oops, something went wrong.