Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make `TestEvaluator` infer it's `outPath` from the `sourcecode.FullName` and ↵ | Li Haoyi | 2018-02-03 | 12 | -103/+65 |
| | | | | `utest.framework.TestPath` | ||||
* | - Renamed `Ctx.FooCtx` => `Ctx.Foo` | Li Haoyi | 2018-02-02 | 22 | -87/+86 |
| | | | | - Remove un-used `Evaluator#millSourcePath` parameter | ||||
* | Enforce that only one task in a group can use `T.ctx().dest` ↵ | Li Haoyi | 2018-02-02 | 3 | -16/+50 |
| | | | | https://github.com/lihaoyi/mill/issues/62 | ||||
* | automatically create dest directory for targets to use | Li Haoyi | 2018-02-02 | 6 | -43/+3 |
| | |||||
* | use an implicit to indicate whether a ctx is within an external module | Li Haoyi | 2018-02-02 | 7 | -49/+29 |
| | |||||
* | - Rename `basePath` -> `millSourcePath` | Li Haoyi | 2018-02-02 | 22 | -112/+119 |
| | | | | - Make `T.worker`s not flush out their directories between instantiations | ||||
* | consolidate test initialization logic into TestEvaluator | Li Haoyi | 2018-02-02 | 9 | -76/+74 |
| | |||||
* | compile zinc compiler bridges on demand to remove restriction on supported ↵ | Li Haoyi | 2018-02-02 | 14 | -147/+151 |
| | | | | scala versions | ||||
* | Move `ScalaWorkerApi`/`ScalaJSBridge` over to new `ExternalModule` class | Li Haoyi | 2018-02-02 | 6 | -9/+69 |
| | | | | Also add a simple unit to validate that you can use `ExternalModule`s as part of a build, and that the | ||||
* | Fix propagation of overriden `Module#basePath` and add a test to verify it's ↵ | Li Haoyi | 2018-02-02 | 3 | -3/+23 |
| | | | | behavior | ||||
* | WIP: Scala js testing (#119) | Nikolay Tatarinov | 2018-02-01 | 18 | -98/+409 |
| | | | fixes #102. Use scala js testing framework to launch tests | ||||
* | Extract out `ScriptTestSuite` from `IntegrationTestSuite` and use it to ↵ | Li Haoyi | 2018-01-28 | 4 | -24/+138 |
| | | | | | | create a version of `JavaCompilerJarTests` that runs through our main method & script runner. This should let us catch a lot of bugs with `MainRunner` and friends quickly, without needing to run the slow integration tests | ||||
* | DRY up test suite by making `Discover` generation implicit | Li Haoyi | 2018-01-28 | 17 | -97/+83 |
| | | | | Also avoid passing around `Discover` and `Evaluator` together, since the latter already contains the former | ||||
* | Add a simple set of evaluation tests for the various cross builds in ↵ | Li Haoyi | 2018-01-28 | 3 | -5/+100 |
| | | | | `TestGraphs`, and a `crossResolved` test to exercise `mill.define.Cross.Resolver` functionality | ||||
* | Fix gen idea tests | Li Haoyi | 2018-01-28 | 2 | -17/+21 |
| | |||||
* | Make `idea` task work with releaseAssembly and publishLocal | Li Haoyi | 2018-01-27 | 6 | -9/+25 |
| | |||||
* | Fix publishLocal of Mill's own build | Li Haoyi | 2018-01-27 | 4 | -6/+24 |
| | |||||
* | Make `idea` task configure the root module to have IntelliJ properly handle ↵ | Li Haoyi | 2018-01-27 | 7 | -37/+96 |
| | | | | the `build.sc` file | ||||
* | First incomplete pass at writing docs | Li Haoyi | 2018-01-27 | 11 | -383/+1586 |
| | |||||
* | Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵ | Li Haoyi | 2018-01-26 | 19 | -66/+187 |
| | | | | to validate the `dest` paths of overriden commands and overriden targets | ||||
* | Migrate `scalajslib` over to a `T.worker` setup similar to `scalalib` | Li Haoyi | 2018-01-25 | 9 | -111/+126 |
| | |||||
* | remove unneeded ivy deps | Li Haoyi | 2018-01-24 | 1 | -3/+1 |
| | |||||
* | Remove obsolete `Loader` context API | Li Haoyi | 2018-01-24 | 3 | -21/+6 |
| | |||||
* | Make `T.worker`s compute their signature based on their inputs, rather than ↵ | Li Haoyi | 2018-01-23 | 2 | -32/+35 |
| | | | | the hash of their output, to allow for returning functions/classloaders/subprocesses/etc. which do not hash reliably between process restarts | ||||
* | Make `T.worker`s compute their signature based on their inputs, rather than ↵ | Li Haoyi | 2018-01-23 | 2 | -19/+28 |
| | | | | the hash of their output, to allow for returning functions/classloaders/subprocesses/etc. which do not hash reliably between process restarts | ||||
* | Add some basic tests for `T.{persistent,input,worker}` behavior, including a ↵ | Li Haoyi | 2018-01-23 | 1 | -0/+104 |
| | | | | currently-failing test exposing a bug where `T.worker` unnecessarily invalidates caches | ||||
* | update mill build to work with new isolated scalaworker | Li Haoyi | 2018-01-23 | 7 | -61/+79 |
| | |||||
* | fix scalajslib build | Li Haoyi | 2018-01-23 | 1 | -1/+1 |
| | |||||
* | fixjsbuild | Li Haoyi | 2018-01-23 | 1 | -1/+1 |
| | |||||
* | Small cleanup of duplicate `Task` code into `NamedTaskImpl` | Li Haoyi | 2018-01-23 | 1 | -20/+10 |
| | |||||
* | WIP splitting `mill.scalaworker` out of `mill.scalalib` and into it's own ↵ | Li Haoyi | 2018-01-23 | 16 | -390/+456 |
| | | | | isolated module/classloader. Most scalalib test pass, tho GenIdea is still broken | ||||
* | - Make `forkTest` and `forkRun` the default, renaming `test` and `run` to ↵ | Li Haoyi | 2018-01-21 | 7 | -43/+86 |
| | | | | | | | | | | | | `testLocal` and `runLocal` - Support passing `forkEnv` parameters to `test` and `run`, necessary to get Ammonite working - Standardize signatures of `Jvm.interactiveSubprocess`/`Jvm.subprocess` - `Jvm.inprocess` is now `Jvm.runLocal` - Swap `TestModule.testLocal` over to using `Jvm.runLocal`, for consistency with everything else | ||||
* | Give `mill.Module` a useful default `toString`, and make the REPLs pprint ↵ | Li Haoyi | 2018-01-21 | 2 | -1/+2 |
| | | | | work for non-top-level modules | ||||
* | Implement basic wildcard task running via e.g. `mill _.compile` | Li Haoyi | 2018-01-21 | 8 | -63/+263 |
| | |||||
* | fix couple typos in scalajs tests: match test name with scala version | rockjam | 2018-01-22 | 1 | -3/+3 |
| | |||||
* | - Make `docsJar` and `sourcesJar` more robust against empty inputs | Li Haoyi | 2018-01-21 | 3 | -39/+45 |
| | | | | | - `sourcesJar` now de-dupes items by default, rather than crashing - Resolving commands now works properly within cross-builds | ||||
* | Run travis in VM instead of container to resolve issue with fork main (#118) | Piotr Kwiecinski | 2018-01-20 | 1 | -1/+1 |
| | |||||
* | Add build status and patreon badge to readme (#117) | Piotr Kwiecinski | 2018-01-20 | 1 | -1/+5 |
| | |||||
* | Swap over to simplified Mill module/source layout from SBT's | Li Haoyi | 2018-01-20 | 103 | -77/+14 |
| | | | | Removes a lot of useless folders and gives us a chance to exercise this simplified layout. Support for the SBT layout is still verified by our integration tests | ||||
* | Use the classloader that defines the `build.sc` root Module to get a ↵ | Li Haoyi | 2018-01-19 | 2 | -2/+8 |
| | | | | classpath signature, to ensure that changes to the root module definition flush caches | ||||
* | add a basic test for gen-idea (#114) | Stephen Nancekivell | 2018-01-19 | 15 | -7/+185 |
| | | | | | | | | | | * add a basic test for gen-idea * update GenIdeaTest with resources as source. * change .gitignore to allow .iml under src/test/resources. Ignore .idea_modules. * normalise library paths in GenIdeaTests | ||||
* | Get Travis CI green again after adding Ammonite integration test | Li Haoyi | 2018-01-19 | 5 | -21/+38 |
| | |||||
* | Run Main.main in current process (#115) | Minghao Liu | 2018-01-19 | 4 | -25/+94 |
| | | | | | | | | | | | | | | | | * no message * fix compile * fix compile again * finishing in process running * remove comment * fix bug * fix bug | ||||
* | add resource folders, only one output folder is supported (#113) | Minghao Liu | 2018-01-19 | 1 | -9/+15 |
| | |||||
* | Introduce an Ammonite build to our test suite | Li Haoyi | 2018-01-17 | 13 | -31/+269 |
| | |||||
* | Implement downloading/caching of binaries and java-source-folder support to ↵ | Li Haoyi | 2018-01-17 | 5 | -4/+51 |
| | | | | make better-files benchmarks compile; fixes https://github.com/lihaoyi/mill/issues/37 | ||||
* | couple typos (#111) | Ryan Williams | 2018-01-17 | 1 | -3/+3 |
| | |||||
* | - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependencies | Li Haoyi | 2018-01-15 | 13 | -74/+88 |
| | | | | | | - `projectDeps` is now `moduleDeps` for compatibility with our `Module` terminology - `scalalib.Module` is now `ScalaModule` for compatibility with `import scalalib._` | ||||
* | - Collapse `Ctx#segments` and `Ctx#segments0` into one field, instead doing ↵ | Li Haoyi | 2018-01-15 | 8 | -40/+41 |
| | | | | the prefix-stripping up-front in `BaseModule` | ||||
* | Add some test cases for nested target discovery, which also implicitly tests ↵ | Li Haoyi | 2018-01-15 | 4 | -8/+67 |
| | | | | nested module discovery |