Skip to content

Commit 018a64e

Browse files
authored
Split up testRepoSourceRoot from testRepoRoot (#4355)
Works around #4176 in Mills own build until we can fix it for real
1 parent 0826e48 commit 018a64e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/post-build-selective.yml

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373

7474
- run: ./mill -i -k selective.resolve ${{ inputs.millargs }}
7575

76+
- run: cat out/mill-build/methodCodeHashSignatures.dest/current/spanningInvalidationTree.json
77+
7678
- run: ./mill -i -k selective.resolveTree ${{ inputs.millargs }}
7779

7880
- run: ./mill -i -j1 -k selective.run ${{ inputs.millargs }}

example/package.mill

+2-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ object `package` extends RootModule with Module {
211211

212212
trait ExampleCrossModule extends build.integration.IntegrationTestModule {
213213
// disable scalafix because these example modules don't have sources causing it to misbehave
214-
def testRepoRoot: T[PathRef] = Task.Source(millSourcePath)
214+
def testRepoSourceRoot: T[PathRef] = Task.Source(millSourcePath)
215+
def testRepoRoot: T[PathRef] = Task{ testRepoSourceRoot() }
215216

216217
def sources0 = Task.Sources(millSourcePath)
217218
def sources = Task {

readme.adoc

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ https://www.patreon.com/lihaoyi[image:https://img.shields.io/badge/patreon-spons
2525
Mill is a fast JVM build tool that supports Java and Scala. Mill aims to make your
2626
project’s build process performant, maintainable, and flexible.
2727

28-
2928
If you want to use Mill in your own projects, check out our documentation:
3029

3130
* {link-current-doc-site}[Documentation]

0 commit comments

Comments
 (0)