Skip to content

Commit

Permalink
Split up testRepoSourceRoot from testRepoRoot (#4355)
Browse files Browse the repository at this point in the history
Works around #4176 in Mills
own build until we can fix it for real
  • Loading branch information
lihaoyi authored Jan 17, 2025
1 parent 0826e48 commit 018a64e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/post-build-selective.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:

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

- run: cat out/mill-build/methodCodeHashSignatures.dest/current/spanningInvalidationTree.json

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

- run: ./mill -i -j1 -k selective.run ${{ inputs.millargs }}
Expand Down
3 changes: 2 additions & 1 deletion example/package.mill
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ object `package` extends RootModule with Module {

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

def sources0 = Task.Sources(millSourcePath)
def sources = Task {
Expand Down
1 change: 0 additions & 1 deletion readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ https://www.patreon.com/lihaoyi[image:https://img.shields.io/badge/patreon-spons
Mill is a fast JVM build tool that supports Java and Scala. Mill aims to make your
project’s build process performant, maintainable, and flexible.


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

* {link-current-doc-site}[Documentation]
Expand Down

0 comments on commit 018a64e

Please sign in to comment.