summaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* - Renamed `Ctx.FooCtx` => `Ctx.Foo`Li Haoyi2018-02-0214-65/+39
| | | | - Remove un-used `Evaluator#millSourcePath` parameter
* Enforce that only one task in a group can use `T.ctx().dest` ↵Li Haoyi2018-02-023-16/+50
| | | | https://github.com/lihaoyi/mill/issues/62
* automatically create dest directory for targets to useLi Haoyi2018-02-023-6/+2
|
* use an implicit to indicate whether a ctx is within an external moduleLi Haoyi2018-02-025-14/+29
|
* - Rename `basePath` -> `millSourcePath`Li Haoyi2018-02-0210-41/+47
| | | | - Make `T.worker`s not flush out their directories between instantiations
* consolidate test initialization logic into TestEvaluatorLi Haoyi2018-02-028-75/+73
|
* compile zinc compiler bridges on demand to remove restriction on supported ↵Li Haoyi2018-02-021-2/+45
| | | | scala versions
* Move `ScalaWorkerApi`/`ScalaJSBridge` over to new `ExternalModule` classLi Haoyi2018-02-024-7/+67
| | | | 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 Haoyi2018-02-023-3/+23
| | | | behavior
* WIP: Scala js testing (#119)Nikolay Tatarinov2018-02-011-1/+1
| | | fixes #102. Use scala js testing framework to launch tests
* Extract out `ScriptTestSuite` from `IntegrationTestSuite` and use it to ↵Li Haoyi2018-01-283-0/+127
| | | | | | 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 implicitLi Haoyi2018-01-2813-85/+79
| | | | 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 Haoyi2018-01-282-0/+95
| | | | `TestGraphs`, and a `crossResolved` test to exercise `mill.define.Cross.Resolver` functionality
* Make `idea` task work with releaseAssembly and publishLocalLi Haoyi2018-01-271-2/+2
|
* Fix publishLocal of Mill's own buildLi Haoyi2018-01-271-2/+2
|
* Make `idea` task configure the root module to have IntelliJ properly handle ↵Li Haoyi2018-01-271-2/+2
| | | | the `build.sc` file
* Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵Li Haoyi2018-01-2614-60/+169
| | | | to validate the `dest` paths of overriden commands and overriden targets
* Migrate `scalajslib` over to a `T.worker` setup similar to `scalalib`Li Haoyi2018-01-251-1/+1
|
* Remove obsolete `Loader` context APILi Haoyi2018-01-242-19/+4
|
* Make `T.worker`s compute their signature based on their inputs, rather than ↵Li Haoyi2018-01-232-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 Haoyi2018-01-232-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 Haoyi2018-01-231-0/+104
| | | | currently-failing test exposing a bug where `T.worker` unnecessarily invalidates caches
* update mill build to work with new isolated scalaworkerLi Haoyi2018-01-232-13/+2
|
* Small cleanup of duplicate `Task` code into `NamedTaskImpl`Li Haoyi2018-01-231-20/+10
|
* WIP splitting `mill.scalaworker` out of `mill.scalalib` and into it's own ↵Li Haoyi2018-01-237-62/+74
| | | | isolated module/classloader. Most scalalib test pass, tho GenIdea is still broken
* - Make `forkTest` and `forkRun` the default, renaming `test` and `run` to ↵Li Haoyi2018-01-213-15/+27
| | | | | | | | | | | | `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 Haoyi2018-01-212-1/+2
| | | | work for non-top-level modules
* Implement basic wildcard task running via e.g. `mill _.compile`Li Haoyi2018-01-216-60/+245
|
* - Make `docsJar` and `sourcesJar` more robust against empty inputsLi Haoyi2018-01-212-27/+33
| | | | | - `sourcesJar` now de-dupes items by default, rather than crashing - Resolving commands now works properly within cross-builds
* Swap over to simplified Mill module/source layout from SBT'sLi Haoyi2018-01-2048-70/+1
| | | | 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 Haoyi2018-01-192-2/+8
| | | | classpath signature, to ensure that changes to the root module definition flush caches
* Run Main.main in current process (#115)Minghao Liu2018-01-191-0/+57
| | | | | | | | | | | | | | | | * no message * fix compile * fix compile again * finishing in process running * remove comment * fix bug * fix bug
* Introduce an Ammonite build to our test suiteLi Haoyi2018-01-174-22/+21
|
* Implement downloading/caching of binaries and java-source-folder support to ↵Li Haoyi2018-01-171-0/+26
| | | | make better-files benchmarks compile; fixes https://github.com/lihaoyi/mill/issues/37
* - Collapse `Ctx#segments` and `Ctx#segments0` into one field, instead doing ↵Li Haoyi2018-01-156-36/+34
| | | | the prefix-stripping up-front in `BaseModule`
* Add some test cases for nested target discovery, which also implicitly tests ↵Li Haoyi2018-01-154-8/+67
| | | | nested module discovery
* - Test cases for `basePath` behavior in cross-buildsLi Haoyi2018-01-154-71/+57
| | | | | - Avoid reversing the order of cross values when there are more than one provided - Remove now-duplicate `indirectNestedCross` test case
* Extract out miscellanous mill.define.Module helpers into the millInternal ↵Li Haoyi2018-01-147-73/+87
| | | | namespace
* - Move synthetic SBT projects into `target` folderLi Haoyi2018-01-141-5/+0
| | | | | | - Update readme and `ci/` scripts to refer to new project layout - Remove stale `pprint.log`s
* More fixes for `GenIdea` dealing with nested modulesLi Haoyi2018-01-141-1/+1
|
* Fix GenIdea logic again...Li Haoyi2018-01-145-14/+19
|
* fix-replLi Haoyi2018-01-141-1/+2
|
* more work to get tests passing...Li Haoyi2018-01-143-9/+25
|
* Some tweaks to get tests passing...Li Haoyi2018-01-146-38/+21
|
* Everything seems to compile with new, minimal `Discover` implementation...Li Haoyi2018-01-148-54/+147
|
* `traverse` seems to work, still missing `Command` discoveryLi Haoyi2018-01-133-19/+37
|
* WIP getting rid of `discover/` phase: `core/test:compile` works, but some ↵Li Haoyi2018-01-1325-770/+258
| | | | things still stubbed out with `???`
* Make `Module#reflect` only return instance methodsLi Haoyi2018-01-133-4/+7
|
* Remove targets generation in Mirror, in favor of just using java.reflectLi Haoyi2018-01-137-39/+23
|
* rename OSet -> AggLi Haoyi2018-01-1317-184/+184
|