Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | pass scalacOptions and javacOptions to compile (#23) | Nikolay Tatarinov | 2017-11-26 | 1 | -3/+14 | |
| | ||||||
* | fix console command in scala plugin; use subprocess for run (#21) | Nikolay Tatarinov | 2017-11-26 | 1 | -11/+7 | |
| | ||||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-11-26 | 1 | -5/+8 | |
|\ | ||||||
| * | fix #6 include project classes to incremental compilation classpath (#20) | Nikolay Tatarinov | 2017-11-26 | 1 | -5/+8 | |
| | | ||||||
* | | bring back ScalaModule#run, bring back TaskModule now with a new ↵ | Li Haoyi | 2017-11-26 | 1 | -4/+11 | |
|/ | | | | defaultCommandName member | |||||
* | Remove `TaskModule`, make default-task selection to be by-name (tentatively ↵ | Li Haoyi | 2017-11-25 | 2 | -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 Haoyi | 2017-11-25 | 1 | -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 Haoyi | 2017-11-25 | 1 | -1/+1 | |
| | | | | shelling out to `chmod` | |||||
* | Allow the definition of a prependShellScript in a ScalaModule (#13) | André Duarte | 2017-11-25 | 1 | -1/+9 | |
| | ||||||
* | First pass at simplifying test suite definition & running | Li Haoyi | 2017-11-25 | 1 | -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 & running | Li Haoyi | 2017-11-25 | 2 | -7/+23 | |
| | | | | Fixed `GenIdea` to fix reversing of module path in generating module name | |||||
* | Fix idea project generation again... | Li Haoyi | 2017-11-23 | 1 | -1/+1 | |
| | ||||||
* | unwrap Segments when generating Intellij project files | Li Haoyi | 2017-11-23 | 1 | -2/+3 | |
| | ||||||
* | Targets living in cross modules can now be properly discovered, run and cached. | Li Haoyi | 2017-11-22 | 1 | -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 Haoyi | 2017-11-18 | 1 | -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 Haoyi | 2017-11-18 | 1 | -1/+1 | |
| | | | | unit tests | |||||
* | Tweak implicits to make `build.sc` pass again | Li Haoyi | 2017-11-18 | 1 | -6/+14 | |
| | ||||||
* | Refactor `Evaluator` implementation to reduce the number of "unsafe" map lookups | Li Haoyi | 2017-11-18 | 1 | -1/+2 | |
| | ||||||
* | Implement `T.persistent{}` targets, which have their dest directory persist ↵ | Li Haoyi | 2017-11-18 | 1 | -55/+97 | |
| | | | | between runs so the task implementation can use it as a cache | |||||
* | Cleanup | Li Haoyi | 2017-11-18 | 1 | -3/+3 | |
| | ||||||
* | Extract out shared `Hierarchy.traverse` function for walking `Hierarchy` tree | Li Haoyi | 2017-11-18 | 2 | -12/+8 | |
| | ||||||
* | Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first ↵ | Li Haoyi | 2017-11-16 | 2 | -7/+7 | |
| | | | | non-working experiments in cross building working... | |||||
* | Allow opting in to faster/sloppier `PathRef` signatures using mtime + ↵ | Li Haoyi | 2017-11-15 | 1 | -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 Haoyi | 2017-11-15 | 1 | -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 syntax | Li Haoyi | 2017-11-15 | 1 | -0/+7 | |
| | ||||||
* | Avoid compiling code just to get access to compiled code output paths | Li Haoyi | 2017-11-15 | 1 | -5/+10 | |
| | ||||||
* | Mark the scala library jar as `type=Scala` to make intellij believe it is a ↵ | Li Haoyi | 2017-11-15 | 1 | -3/+3 | |
| | | | | scala sdk | |||||
* | WIP cleanup of gnarly GenIdea code | Li Haoyi | 2017-11-15 | 1 | -87/+118 | |
| | ||||||
* | First pass at an `assembly` task now works, rudimentary but enough to be ↵ | Li Haoyi | 2017-11-14 | 1 | -1/+14 | |
| | | | | used metacircularly | |||||
* | First pass at IntelliJ project generation for a Mill build. Run using `sbt ↵ | Li Haoyi | 2017-11-14 | 2 | -30/+184 | |
| | | | | scalaplugin/assembly && amm build.sc idea` | |||||
* | Rename `Subproject` to `Module` | Li Haoyi | 2017-11-12 | 1 | -4/+4 | |
| | ||||||
* | remove dead function | Li Haoyi | 2017-11-12 | 1 | -24/+0 | |
| | ||||||
* | Clean up `mill.Main` | Li Haoyi | 2017-11-12 | 1 | -13/+17 | |
| | ||||||
* | Rename out `Task.path` to `Task.source`, use it more aggressively to get ↵ | Li Haoyi | 2017-11-12 | 1 | -3/+3 | |
| | | | | `amm -w` watch-n-rebuild functionality working on `build.sc` | |||||
* | Make sure Mill classpath doesn't leak into test classloaders, except for ↵ | Li Haoyi | 2017-11-12 | 1 | -1/+10 | |
| | | | | specific white-listed classes (e.g. `sbt-test-interface`) | |||||
* | cleanup `build.sc` imports | Li Haoyi | 2017-11-11 | 3 | -46/+55 | |
| | ||||||
* | `T{}` blocks can now be implicit | Li Haoyi | 2017-11-11 | 1 | -3/+3 | |
| | ||||||
* | - Smoothed out syntax for defining ivy dependencies | Li Haoyi | 2017-11-11 | 1 | -23/+41 | |
| | | | | - Made `build.sc` file directly runnable using Ammonite, without any wrapper | |||||
* | First set of unit tests running through Mill | Li Haoyi | 2017-11-11 | 2 | -16/+14 | |
| | ||||||
* | - Give `Target`s nicer `toString`s using `sourcecode.Enclosing`. Still not ↵ | Li Haoyi | 2017-11-11 | 1 | -12/+9 | |
| | | | | | | | | | | as good as the `Labeling` they get during evaluation, but better than nothing - Split out `TargetImpl` from `Target`, so we can make our dummy `TestUtils.Test` class implement `Target`s for discoverability etc. - Make `Discovered` only discover `Target`s, not `Task`s - Make `groupAroundNamedTargets` properly sort the groups topologically, and by flexible enough to combine groups which have cycles between them. | |||||
* | Swap over to new `projectDeps` mechanism for defining dependencies between ↵ | Li Haoyi | 2017-11-11 | 2 | -10/+115 | |
| | | | | various `scalaplugin.Subproject`s | |||||
* | First sketch at SBT test integration works | Li Haoyi | 2017-11-11 | 1 | -1/+31 | |
| | ||||||
* | rename forge -> mill | Li Haoyi | 2017-11-10 | 1 | -5/+5 | |
| | ||||||
* | Add basic tests for un-cached evaluation of `Task`s | Li Haoyi | 2017-11-10 | 1 | -2/+2 | |
| | ||||||
* | Kill `Router.main` annotation and make routing dependent on the `Command` ↵ | Li Haoyi | 2017-11-10 | 1 | -2/+1 | |
| | | | | return type | |||||
* | Migrate over to the new `Task`/`Target`/`Command` split | Li Haoyi | 2017-11-09 | 1 | -7/+6 | |
| | ||||||
* | Make `Applicative` macros able to inject a configurable `Ctx` object, used ↵ | Li Haoyi | 2017-11-09 | 1 | -16/+5 | |
| | | | | in `Target` to inject the `dest` folder for the `T{...}` block to use | |||||
* | make scalaplugin.Subproject use the builtin destination folder | Li Haoyi | 2017-11-09 | 1 | -7/+17 | |
| | ||||||
* | Swap `compileScala` over to `T{...}` macro | Li Haoyi | 2017-11-08 | 1 | -67/+64 | |
| | ||||||
* | First full metacircular compile-build-execute workflow now works using the ↵ | Li Haoyi | 2017-11-07 | 1 | -0/+10 | |
| | | | | | | | | `build.sc` file in the root of the repo. Run using ``` sbt scalaplugin/compile "core/run build.sc ScalaPlugin.console" ``` |