summaryrefslogtreecommitdiff
path: root/scalaplugin
Commit message (Collapse)AuthorAgeFilesLines
...
* | swap run and runMain commandsrockjam2017-11-302-9/+9
| |
* | implment runMain commandrockjam2017-11-302-1/+29
| |
* | mainClass supportrockjam2017-11-302-2/+23
|/
* first pass at building better-files using MillLi Haoyi2017-11-2941-0/+6014
|
* - Re-enable zinc compiler cache, since the OOMing it used to cause seems to ↵Li Haoyi2017-11-281-40/+66
| | | | | | | | have gone away (???) - DRY up our dependency resolution code in `ScalaModule` with a `resolveDeps` helper - Separate `scalaCompilerClasspath` from `compileClasspath`, and only pass `scalaCompilerClasspath` to the Zinc classloader
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-275-20/+279
|\
| * fix #8 simple 'hello world' scala module with tests on it; extract test ↵Nikolay Tatarinov2017-11-275-20/+279
| | | | | | | | evaluator (#30)
* | Acyclic cross-version tests are runningLi Haoyi2017-11-272-9/+38
|/
* Tweak readme, fix SBT executable assembly prefixLi Haoyi2017-11-271-8/+9
|
* Get acyclic's tests running after compilation failures, fixing a ↵Li Haoyi2017-11-262-13/+6
| | | | metadata.mill.json invalidation bug
* Acyclic test suite works now that we can fork and set a proper working ↵Li Haoyi2017-11-263-32/+85
| | | | directory, but only when run alone (???)
* Isolate TestRunner classloader to try and get AcyclicTests working...Li Haoyi2017-11-262-3/+5
|
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-261-2/+2
|\
| * upgrade zinc 1.0.3 -> 1.0.5 (#26)Nikolay Tatarinov2017-11-261-2/+2
| |
* | Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-261-26/+25
|\|
| * Cleaner logging of Zinc activities. (#25)Iulian Dragos2017-11-261-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | * Bust caches when the build itself has changed. Use the Ammonite classloader to check if the classpath has changed Fix #7 * Cleaner logging of Zinc activities. Removed printlns and bumped up the Zinc log level to Info. This show the nice `Compiling <n> Scala sources` messages, and the useless `Done compiling` line at the end.
| * pass scalacOptions and javacOptions to compile (#23)Nikolay Tatarinov2017-11-261-3/+14
| |
| * fix console command in scala plugin; use subprocess for run (#21)Nikolay Tatarinov2017-11-261-11/+7
| |
* | WIP getting Acyclic build working in Mill. Test suite doesn't work, neither ↵Li Haoyi2017-11-262-119/+98
|/ | | | does non-2.12 versions of Scala, but compiling the main code on 2.12 works
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-261-5/+8
|\
| * fix #6 include project classes to incremental compilation classpath (#20)Nikolay Tatarinov2017-11-261-5/+8
| |
* | bring back ScalaModule#run, bring back TaskModule now with a new ↵Li Haoyi2017-11-261-4/+11
|/ | | | defaultCommandName member
* Remove `TaskModule`, make default-task selection to be by-name (tentatively ↵Li Haoyi2017-11-252-14/+8
| | | | | | | | | | hardcoded to `run`) so we can pass CLI arguments to the default run tasks Forward CLI arguments to the `TestModule#run` command; you can now select what tests you want to run using uTest, via: ``` mill run Core.test mill.define.ApplicativeTests ```
* - Make `Discovered` logic use the public getter of a `val` field, instead of ↵Li Haoyi2017-11-251-1/+1
| | | | | | | | the private backing-field (which seems to end with a whitespace, and doesn't seem to exist for fields defined in anonynomous classes e.g. `new { val x = 1 }` - Re-enable `mill.main.MainTests.nested` - Share test graphs between `CrossModuleTests`, `DiscoveredTests` and `MainTests`
* Swap over to using `java.nio` APIs to make self-executable jars, instead of ↵Li Haoyi2017-11-251-1/+1
| | | | shelling out to `chmod`
* Allow the definition of a prependShellScript in a ScalaModule (#13)André Duarte2017-11-251-1/+9
|
* First pass at simplifying test suite definition & runningLi Haoyi2017-11-251-2/+5
| | | | | | 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-252-7/+23
| | | | Fixed `GenIdea` to fix reversing of module path in generating module name
* Fix idea project generation again...Li Haoyi2017-11-231-1/+1
|
* unwrap Segments when generating Intellij project filesLi Haoyi2017-11-231-2/+3
|
* Targets living in cross modules can now be properly discovered, run and cached.Li Haoyi2017-11-221-2/+2
| | | | | | | | 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`
* First hack pass at cross-build discovery and command-running now works.Li Haoyi2017-11-181-1/+1
| | | | | | Can be tested out on our `build.sc` via `scalaplugin/target/mill run Core.cross[a].printIt` Needs tons of cleanup...
* Inject logging callback into Evaluator, so we can silence the logging in our ↵Li Haoyi2017-11-181-1/+1
| | | | unit tests
* Tweak implicits to make `build.sc` pass againLi Haoyi2017-11-181-6/+14
|
* Refactor `Evaluator` implementation to reduce the number of "unsafe" map lookupsLi Haoyi2017-11-181-1/+2
|
* Implement `T.persistent{}` targets, which have their dest directory persist ↵Li Haoyi2017-11-181-55/+97
| | | | between runs so the task implementation can use it as a cache
* CleanupLi Haoyi2017-11-181-3/+3
|
* Extract out shared `Hierarchy.traverse` function for walking `Hierarchy` treeLi Haoyi2017-11-182-12/+8
|
* Tweak example acyclic cross-build to show off cross-dependenciesLi Haoyi2017-11-161-14/+17
|
* Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first ↵Li Haoyi2017-11-1662-7/+1032
| | | | non-working experiments in cross building working...
* Allow opting in to faster/sloppier `PathRef` signatures using mtime + ↵Li Haoyi2017-11-151-1/+1
| | | | | | filesize instead of md5ing the file body. Used for third-party dependencies (which are large jars but shouldn't change often) this speeds up the no-op `mill run ScalaPlugin.compile` by about a quarter
* Strip out `play-json` dependency in favor of `upickle`, which we are forced ↵Li Haoyi2017-11-151-22/+2
| | | | to use anyway due to Ammonite. Saves us from classloading play-json and Jackson, shaving off a few hundred ms from the cold no-op runtime
* First pass at cleaning up `build.sc` file syntaxLi Haoyi2017-11-151-0/+7
|
* Avoid compiling code just to get access to compiled code output pathsLi Haoyi2017-11-151-5/+10
|
* Mark the scala library jar as `type=Scala` to make intellij believe it is a ↵Li Haoyi2017-11-151-3/+3
| | | | scala sdk
* WIP cleanup of gnarly GenIdea codeLi Haoyi2017-11-151-87/+118
|
* First pass at an `assembly` task now works, rudimentary but enough to be ↵Li Haoyi2017-11-141-1/+14
| | | | used metacircularly
* First pass at IntelliJ project generation for a Mill build. Run using `sbt ↵Li Haoyi2017-11-142-30/+184
| | | | scalaplugin/assembly && amm build.sc idea`
* Rename `Subproject` to `Module`Li Haoyi2017-11-121-4/+4
|
* remove dead functionLi Haoyi2017-11-121-24/+0
|