summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make use of `CrossScalaModule` in `HelloWorldTests`Li Haoyi2018-02-0315-108/+166
| | | | Also standardize the `HelloWorldTests` onto the typical project layout, where the module of interest is nested within a top-level `BaseModule`
* fix the externalOutPath for RunScript/GenIdea/ReplApplyHandlerLi Haoyi2018-02-033-3/+3
|
* fix scalalib testsLi Haoyi2018-02-0312-152/+167
|
* Make `TestEvaluator` infer it's `outPath` from the `sourcecode.FullName` and ↵Li Haoyi2018-02-0312-103/+65
| | | | `utest.framework.TestPath`
* - Renamed `Ctx.FooCtx` => `Ctx.Foo`Li Haoyi2018-02-0222-87/+86
| | | | - 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-026-43/+3
|
* use an implicit to indicate whether a ctx is within an external moduleLi Haoyi2018-02-027-49/+29
|
* - Rename `basePath` -> `millSourcePath`Li Haoyi2018-02-0222-112/+119
| | | | - Make `T.worker`s not flush out their directories between instantiations
* consolidate test initialization logic into TestEvaluatorLi Haoyi2018-02-029-76/+74
|
* compile zinc compiler bridges on demand to remove restriction on supported ↵Li Haoyi2018-02-0214-147/+151
| | | | scala versions
* Move `ScalaWorkerApi`/`ScalaJSBridge` over to new `ExternalModule` classLi Haoyi2018-02-026-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 Haoyi2018-02-023-3/+23
| | | | behavior
* WIP: Scala js testing (#119)Nikolay Tatarinov2018-02-0118-98/+409
| | | fixes #102. Use scala js testing framework to launch tests
* Extract out `ScriptTestSuite` from `IntegrationTestSuite` and use it to ↵Li Haoyi2018-01-284-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 implicitLi Haoyi2018-01-2817-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 Haoyi2018-01-283-5/+100
| | | | `TestGraphs`, and a `crossResolved` test to exercise `mill.define.Cross.Resolver` functionality
* Fix gen idea testsLi Haoyi2018-01-282-17/+21
|
* Make `idea` task work with releaseAssembly and publishLocalLi Haoyi2018-01-276-9/+25
|
* Fix publishLocal of Mill's own buildLi Haoyi2018-01-274-6/+24
|
* Make `idea` task configure the root module to have IntelliJ properly handle ↵Li Haoyi2018-01-277-37/+96
| | | | the `build.sc` file
* First incomplete pass at writing docsLi Haoyi2018-01-2711-383/+1586
|
* Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵Li Haoyi2018-01-2619-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 Haoyi2018-01-259-111/+126
|
* remove unneeded ivy depsLi Haoyi2018-01-241-3/+1
|
* Remove obsolete `Loader` context APILi Haoyi2018-01-243-21/+6
|
* 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-237-61/+79
|
* fix scalajslib buildLi Haoyi2018-01-231-1/+1
|
* fixjsbuildLi Haoyi2018-01-231-1/+1
|
* 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
|