summaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* fix docsLi Haoyi2018-02-101-2/+2
|
* - DRY up `Resolve.scala`Li Haoyi2018-02-091-2/+4
| | | | | - Add a version of `Resolve` that resolves names only, but works on entrypoints/etc. without needing arguments - Fix tests to compile with new `multiSelect` parsing flag
* Parse args directly in MainModule commands to allow for ``--all`-style ↵Li Haoyi2018-02-093-34/+26
| | | | argument parsing
* get rid of external watch flagLi Haoyi2018-02-091-8/+7
|
* .Li Haoyi2018-02-0945-3646/+51
|
* vendor ammonite.main code so we can properly handle arity-0 CLI args, fix ↵Li Haoyi2018-02-0820-168/+490
| | | | GenIdea by making it take an Evaluator as an argument
* wipLi Haoyi2018-02-0713-40/+513
|
* attempt to fix publishAllLi Haoyi2018-02-079-25/+48
|
* .Li Haoyi2018-02-062-2/+3
|
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-02-063-4/+2
|\
| * fix introspection of children on console (eg build) (#128)ajrnz2018-02-061-2/+2
| | | | | | this used to work but stopped, I guess, after some on segments
* | all T.commands to take targets as CLI arguments, and use that to get rid of ↵Li Haoyi2018-02-064-17/+66
|/ | | | our custom releaseCI/releaseManual commands
* CleanupLi Haoyi2018-02-042-4/+4
|
* add upstream dependencies to ivy.xmlLi Haoyi2018-02-041-2/+2
|
* allow Result.Failure to take a valueLi Haoyi2018-02-046-20/+46
|
* Fix testsLi Haoyi2018-02-042-17/+27
|
* Add support for external modules, useful for things `GenIdea` supportLi Haoyi2018-02-049-57/+91
|
* catch compile-failure exceptions to avoid showing the stack traceLi Haoyi2018-02-042-3/+3
|
* Fix ScalaWorker test runs to make them properly break the buildLi Haoyi2018-02-041-1/+1
|
* Use the full path of a ScalaModule in it's default artifact name, rather ↵Li Haoyi2018-02-041-0/+9
| | | | than just the last segment
* wip auto publishing...Li Haoyi2018-02-042-2/+3
|
* Show a proper error message when invoking a command failsLi Haoyi2018-02-031-9/+17
|
* flexiblize T.sources and use it widely, which lets us fix --watchLi Haoyi2018-02-035-30/+55
|
* Make use of `CrossScalaModule` in `HelloWorldTests`Li Haoyi2018-02-037-8/+23
| | | | 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-032-2/+2
|
* fix scalalib testsLi Haoyi2018-02-036-37/+47
|
* Make `TestEvaluator` infer it's `outPath` from the `sourcecode.FullName` and ↵Li Haoyi2018-02-038-65/+51
| | | | `utest.framework.TestPath`
* - 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
|