summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-2316-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 Haoyi2018-01-217-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 Haoyi2018-01-212-1/+2
| | | | work for non-top-level modules
* Implement basic wildcard task running via e.g. `mill _.compile`Li Haoyi2018-01-218-63/+263
|
* fix couple typos in scalajs tests: match test name with scala versionrockjam2018-01-221-3/+3
|
* - Make `docsJar` and `sourcesJar` more robust against empty inputsLi Haoyi2018-01-213-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 Kwiecinski2018-01-201-1/+1
|
* Add build status and patreon badge to readme (#117)Piotr Kwiecinski2018-01-201-1/+5
|
* Swap over to simplified Mill module/source layout from SBT'sLi Haoyi2018-01-20103-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 Haoyi2018-01-192-2/+8
| | | | classpath signature, to ensure that changes to the root module definition flush caches
* add a basic test for gen-idea (#114)Stephen Nancekivell2018-01-1915-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 testLi Haoyi2018-01-195-21/+38
|
* Run Main.main in current process (#115)Minghao Liu2018-01-194-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 Liu2018-01-191-9/+15
|
* Introduce an Ammonite build to our test suiteLi Haoyi2018-01-1713-31/+269
|
* Implement downloading/caching of binaries and java-source-folder support to ↵Li Haoyi2018-01-175-4/+51
| | | | make better-files benchmarks compile; fixes https://github.com/lihaoyi/mill/issues/37
* couple typos (#111)Ryan Williams2018-01-171-3/+3
|
* - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependenciesLi Haoyi2018-01-1513-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 Haoyi2018-01-158-40/+41
| | | | 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-148-74/+88
| | | | namespace
* - Tweak Scalajs LinkerBridge project layout to match Mill defaultsLi Haoyi2018-01-147-13/+4
| | | | - Update `build.sc`, `build.sbt` and `ci/` scripts
* - Move synthetic SBT projects into `target` folderLi Haoyi2018-01-146-39/+37
| | | | | | - 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-142-2/+2
|
* Move dummy SBT targets into `synthetic/` folderLi Haoyi2018-01-141-6/+10
|
* Fix GenIdea logic again...Li Haoyi2018-01-146-37/+42
|
* fix-replLi Haoyi2018-01-142-2/+2
|
* more work to get tests passing...Li Haoyi2018-01-145-12/+28
|
* Some tweaks to get tests passing...Li Haoyi2018-01-1410-107/+91
|
* Everything seems to compile with new, minimal `Discover` implementation...Li Haoyi2018-01-1412-79/+166
|
* `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-1327-773/+261
| | | | 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-1333-278/+278
|
* Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵Li Haoyi2018-01-1334-215/+250
| | | | enforce deduplication
* Break up scalalib/Module.scalaLi Haoyi2018-01-123-155/+174
|
* Allow `Cross`-builds to themselves be `Module`s so you can nest stuff insideLi Haoyi2018-01-122-2/+9
| | | | Also properly propagate `mainClass` into `assembly`
* split up travis build into 3 workers, one testing each stage of the ↵Li Haoyi2018-01-124-4/+34
| | | | bootstrapping
* fix testsLi Haoyi2018-01-122-3/+3
|
* Add some doccommentsLi Haoyi2018-01-123-0/+26
|
* Allow implicit `crossModule()` syntax to automatically find a set of ↵Li Haoyi2018-01-123-5/+47
| | | | cross-coordinates which are compatible with a given implicit resolver
* - Make `sources` and `resources` able to take multiple roots, so we can ↵Li Haoyi2018-01-123-22/+52
| | | | implement `CrossSbtModule` that works with `scala-2.10/` `scala-2.11/` etc. folders
* - Better error reporting in `ReplApplyHandler`Li Haoyi2018-01-123-6/+32
| | | | | - Logger now prints a newline when transitioning to ticker-mode, to avoid over-writing anything on the current line - Consolidate `scalalib.Module` logic around `assemblyClasspath`
* Clean up `Logger.scala` a bitLi Haoyi2018-01-121-32/+16
|
* Properly close file inputstreams after hashing files, and eagerly close ↵Li Haoyi2018-01-112-0/+3
| | | | classloaders used for running tests
* collapse unnecessary generateXSources helper methodsLi Haoyi2018-01-111-7/+4
|
* Add generated sources target (#109)Minghao Liu2018-01-115-21/+40
| | | | | | | | | | | | * add generated source * naming * multiple content root * no message * fix output classes path