summaryrefslogtreecommitdiff
path: root/build.sc
Commit message (Collapse)AuthorAgeFilesLines
* Move assemble to a separate moduleRoman Timushev2017-12-131-1/+11
|
* Resolve compiler bridge jar (#45)Roman Timushev2017-12-111-0/+11
| | | | | | * Resolve compiler bridge jar * Create a release artifact
* Implement a `SbtScalaModule` helper trait, to conveniently set up the ↵Li Haoyi2017-12-101-4/+1
| | | | | | default source/test locations for builds using SBT project layout Also split out plain-old-Scala-logic in `Lib` from inheritable traits in `ScalaModule`, since `ScalaModule` was getting a bit unwieldy
* Add support for compiler plugins and enable acyclic plugin in buildTin Pavlinic2017-12-091-0/+6
|
* pass compile analysis of projectDeps to zinc, fixes #29rockjam2017-12-071-8/+5
|
* Explicitly pass built compiler-bridge jar locations from the build system ↵Li Haoyi2017-12-061-6/+15
| | | | | | | | into Mill as JVM properties. This makes the dependency between the compiler-bridge jar and the Mill executable explicit, allowing us to swap out the locations compiler-bridge jars (which end up in different places, depending on whether you're building with SBT or Mill) or eventually making them load from Maven Central in a "release" Mill executable Since Mill (and uTest) both do not support SBT-style test arguments, we need to use `forkTest` instead of `test` to run the Mill tests passing the compiler-jar locations as JVM props. This necessitated some fixes to make `forkTest` behave properly
* Flesh out `bridges` pre-compilation in Mill build, getting the ↵Li Haoyi2017-12-041-0/+35
| | | | | | | | | | cross-minor-version `AcyclicTests` running using the `mill` test runner Fixed `Discovered` to only pick up public `Target`s, which makes it skip things like the `super$compile` of an overriden `compile` target. Split up `sources` and `allSources` TBD how to properly switch the `compilerBridgeJar` between the different output paths of SBT's compile-dir and Mill's compile-dir, and eventually to a maven-central artifact too
* Pass `$JAVA_OPTS` to the JVM (#34)Iulian Dragos2017-11-291-1/+1
| | | This allows an easy way to hook an external debugger via -agentlib. JAVA_OPTS is picked up by both Scala and Sbt, so it seems an easy win.
* Tweak readme, fix SBT executable assembly prefixLi Haoyi2017-11-271-1/+4
|
* upgrade zinc 1.0.3 -> 1.0.5 (#26)Nikolay Tatarinov2017-11-261-2/+2
|
* Refactor `build.sc` to pull out common `ScalaModule` code into a separate traitLi Haoyi2017-11-261-14/+12
| | | | Also workaround a few scala-reflect bugs in `Discovered` and `Router` that were making this not-work
* Fix cross-build discoveryLi Haoyi2017-11-251-14/+14
|
* Swap over to using `java.nio` APIs to make self-executable jars, instead of ↵Li Haoyi2017-11-251-14/+14
| | | | shelling out to `chmod`
* Allow the definition of a prependShellScript in a ScalaModule (#13)André Duarte2017-11-251-0/+4
|
* First pass at simplifying test suite definition & runningLi Haoyi2017-11-251-1/+1
| | | | | | Added a `TaskModule` subclass of `Module`, which delegates to a `self` task that you can run directly from bash Fixed `GenIdea` to fix reversing of module path in generating module name
* First pass at simplifying test suite definition & runningLi Haoyi2017-11-251-15/+6
| | | | Fixed `GenIdea` to fix reversing of module path in generating module name
* Targets living in cross modules can now be properly discovered, run and cached.Li Haoyi2017-11-221-2/+9
| | | | | | | | Try out the following commands on our Mill `build.sc` file to exercise this functionality - `scalaplugin/target/mill run Core.cross[jarA].jar` - `scalaplugin/target/mill run Core.cross[jarB].jar` - `scalaplugin/target/mill run Core.cross[jarC].jar`
* tweak-formattingLi Haoyi2017-11-181-4/+6
|
* First hack pass at cross-build discovery and command-running now works.Li Haoyi2017-11-181-0/+6
| | | | | | Can be tested out on our `build.sc` via `scalaplugin/target/mill run Core.cross[a].printIt` Needs tons of cleanup...
* CleanupLi Haoyi2017-11-181-3/+3
|
* First pass at cleaning up `build.sc` file syntaxLi Haoyi2017-11-151-51/+42
|
* Mark the scala library jar as `type=Scala` to make intellij believe it is a ↵Li Haoyi2017-11-151-2/+2
| | | | scala sdk
* First pass at an `assembly` task now works, rudimentary but enough to be ↵Li Haoyi2017-11-141-1/+2
| | | | used metacircularly
* First pass at IntelliJ project generation for a Mill build. Run using `sbt ↵Li Haoyi2017-11-141-1/+3
| | | | scalaplugin/assembly && amm build.sc idea`
* Rename `Subproject` to `Module`Li Haoyi2017-11-121-8/+6
|
* Clean up `mill.Main`Li Haoyi2017-11-121-2/+2
|
* Rename out `Task.path` to `Task.source`, use it more aggressively to get ↵Li Haoyi2017-11-121-4/+4
| | | | `amm -w` watch-n-rebuild functionality working on `build.sc`
* cleanup `build.sc` importsLi Haoyi2017-11-111-6/+3
|
* `T{}` blocks can now be implicitLi Haoyi2017-11-111-27/+22
|
* - Smoothed out syntax for defining ivy dependenciesLi Haoyi2017-11-111-17/+17
| | | | - Made `build.sc` file directly runnable using Ammonite, without any wrapper
* First set of unit tests running through MillLi Haoyi2017-11-111-4/+17
|
* Swap over to new `projectDeps` mechanism for defining dependencies between ↵Li Haoyi2017-11-111-12/+15
| | | | various `scalaplugin.Subproject`s
* rename forge -> millLi Haoyi2017-11-101-7/+7
|
* First full metacircular compile-build-execute workflow now works using the ↵Li Haoyi2017-11-071-0/+47
`build.sc` file in the root of the repo. Run using ``` sbt scalaplugin/compile "core/run build.sc ScalaPlugin.console" ```