Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | readme: Fix Gitter badge (#90) | Tim Nieradzik | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | Update readme.md | Li Haoyi | 2017-12-31 | 1 | -1/+4 |
| | |||||
* | Make sure we properly catch exceptions when a `Task` returning an explicit ↵ | Li Haoyi | 2017-12-31 | 1 | -0/+2 |
| | | | | `Result[T]` instead throws an exception | ||||
* | fix #57 implement eval function to evaluate multiple tasks via repl | rockjam | 2017-12-31 | 4 | -1/+36 |
| | |||||
* | Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵ | Li Haoyi | 2017-12-31 | 6 | -27/+62 |
| | | | | `T.source` to behave as before but `T.input` can be used for other things. Fixes https://github.com/lihaoyi/mill/issues/77 | ||||
* | - Convert `T.source` into a generic `Target` that flushes the cache every time | Li Haoyi | 2017-12-31 | 21 | -124/+193 |
| | | | | | | - Prepare `T.ctx().base: Path` that `Task`s (including `T.source`) can use to find a "default" path for source files. - Simplify `Cacher` | ||||
* | Swap out awkward quasiquotes in `Task` macros in exchange for `reify`/`splice` | Li Haoyi | 2017-12-30 | 2 | -20/+60 |
| | |||||
* | `Core` -> `core`, for consistency with SBT naming schemes | Li Haoyi | 2017-12-30 | 194 | -170/+171 |
| | | | | | | | | `ScalaPlugin` -> `scalalib`, to avoid confusion with Scala compiler plugins `ScalaModule` -> `module`, to be used via `scalalib.Module`, avoid unnecessary duplication in th name prefix `plugin` -> `moduledefs`, to more accurately describe what it does (since it includes `Cacher` as well) | ||||
* | some docs for the out/ folder | Li Haoyi | 2017-12-30 | 1 | -0/+28 |
| | |||||
* | Make use of `T.command`s `T.ctx().dest` in `ScalaPlugin#test.test` and ↵ | Li Haoyi | 2017-12-30 | 8 | -37/+132 |
| | | | | `forkTest`, and allow users to dump the structured JSON test results via `--show` | ||||
* | Re-organize `out/` directory to keep all files related to a particular ↵ | Li Haoyi | 2017-12-29 | 7 | -51/+46 |
| | | | | `Target` within a single folder | ||||
* | Assign different overrides of a Target different cache directories and ↵ | Li Haoyi | 2017-12-29 | 9 | -41/+94 |
| | | | | paths, to fix https://github.com/lihaoyi/mill/issues/86 | ||||
* | Merge pull request #67 from lihaoyi/scalajs | Roman Timushev | 2017-12-29 | 17 | -29/+456 |
|\ | | | | | Scala.js support | ||||
| * | Fix running ScalaJS plugin tests from SBT | Roman Timushev | 2017-12-29 | 2 | -2/+2 |
| | | |||||
| * | Cross-publish for ScalaJS | Roman Timushev | 2017-12-29 | 6 | -29/+78 |
| | | |||||
| * | ScalaJS plugin | Roman Timushev | 2017-12-29 | 9 | -3/+312 |
| | | |||||
| * | Move TestEvaluator to core | Roman Timushev | 2017-12-29 | 5 | -2/+5 |
| | | |||||
| * | ScalaJS plugin build | Roman Timushev | 2017-12-29 | 2 | -5/+71 |
| | | |||||
* | | More tidying up in Task | Li Haoyi | 2017-12-29 | 1 | -55/+61 |
|/ | |||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-12-29 | 1 | -18/+17 |
|\ | |||||
| * | Do not use tar for jar verification (#85) | Roman Timushev | 2017-12-29 | 1 | -18/+17 |
| | | |||||
* | | Tidy up Task.scala macros... | Li Haoyi | 2017-12-29 | 2 | -21/+65 |
| | | |||||
* | | Kill old `LabelledTarget` classes | Li Haoyi | 2017-12-29 | 13 | -99/+69 |
|/ | |||||
* | WIP Migrating `Target` name/pickler generation from the `Mirror` discovery ↵ | Li Haoyi | 2017-12-29 | 10 | -80/+157 |
| | | | | into the `Target` definitions themselves. Haven't deleted the old/unused `Mirror` data structures yet... | ||||
* | Convert `build.sbt` to use ivy-resolved Ammonite to run `shared.sc`, instead ↵ | Li Haoyi | 2017-12-28 | 1 | -32/+33 |
| | | | | of shelling out | ||||
* | First pass at generating CLI output when you run `Target`s, based on their ↵ | Li Haoyi | 2017-12-28 | 3 | -17/+59 |
| | | | | return values, converted to JSON | ||||
* | Properly propagate failures in task evaluation to the ammonite script runner | Li Haoyi | 2017-12-28 | 2 | -13/+15 |
| | |||||
* | get --repl working with bin/test:run | Li Haoyi | 2017-12-28 | 2 | -2/+7 |
| | |||||
* | fix repl flag | Li Haoyi | 2017-12-28 | 1 | -2/+5 |
| | |||||
* | Move all the source generation logic into a `shared.sc` file to avoid ↵ | Li Haoyi | 2017-12-28 | 3 | -242/+159 |
| | | | | | | | | duplication DRY it up internally Move the Bridge downloading logic into `shared.sc` as well, and swap the subprocesses for in-memory processing using scalaj-http and ZipInputStream | ||||
* | Generate zipmap definitions for higher arities (#81) | Duncan Mak | 2017-12-27 | 5 | -110/+227 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove method defns for zipMap/zip that will be generated. The trait Applyer will now extend from ApplyerGenerated which will contain the code-generated definitions. * Script to generate code for Applicative * Generate the zip methods in Target * Generate zip methods in ApplicativeTests * Make sure the full 22-arities are generated * Move code generator into build.sc. Remove generate.sc from directories where code will be generated. * Generate code as part of the SBT also * Properly wire up the test sources * Generate all the code in one place | ||||
* | update readme: remove `run` from command line examples (#82) | Nikolay Tatarinov | 2017-12-27 | 1 | -8/+8 |
| | |||||
* | Slightly simplify `test.sh` matrix and cache more evaluators in ↵ | Li Haoyi | 2017-12-26 | 5 | -123/+90 |
| | | | | `HelloWorldTests`, to try and speed up `test.sh` runs | ||||
* | Cache scala compiler jars in a separate classloader from the compiler plugin ↵ | Li Haoyi | 2017-12-26 | 2 | -7/+21 |
| | | | | jars, since the compiler jars change much less frequently and the code can thus be kept hot rather than being discarded each time | ||||
* | Simplify manual testing using SBT | Li Haoyi | 2017-12-26 | 2 | -6/+15 |
| | |||||
* | Simplify `MainRunner` and `RunScript` code | Li Haoyi | 2017-12-26 | 4 | -54/+49 |
| | |||||
* | Greatly simplify `CustomCodeWrapper` | Li Haoyi | 2017-12-26 | 3 | -36/+15 |
| | |||||
* | Simplify `AcyclicTests` a bit to speed it up | Li Haoyi | 2017-12-26 | 1 | -2/+2 |
| | |||||
* | Fix `HelloWorldTests.scala` | Li Haoyi | 2017-12-26 | 1 | -6/+5 |
| | |||||
* | - Shift `MappingCtx` into a magic `LoaderCtx` `Loader` to avoid circular ↵ | Li Haoyi | 2017-12-26 | 9 | -33/+38 |
| | | | | | | | | dependencies between `Ctx` -> `Discovered` -> `Task` - `mill idea` works now using `GenIdea` as a standalone `T.command` making use of the new contextually-available `Mapping` - Limit implicit `ReplApplyHandler` to `--repl` only, to avoid it kicking in if `build.sc` scripts are screwed up and adding further confusion | ||||
* | WIP: provide Mapping as a Ctx argument that can be accessed from within ↵ | Li Haoyi | 2017-12-25 | 17 | -80/+87 |
| | | | | Tasks, for usage within `GenIdea` and similar | ||||
* | Refactor `mill.Main` to avoid going through Ammonite's main-method-dispatch ↵ | Li Haoyi | 2017-12-25 | 8 | -190/+303 |
| | | | | system | ||||
* | prepare mill-bridges to be published to maven central (#78) | Nikolay Tatarinov | 2017-12-24 | 3 | -15/+24 |
| | |||||
* | Fix Idea project for cross-modules (#80) | Roman Timushev | 2017-12-24 | 1 | -3/+11 |
| | |||||
* | Remove `Router.scala`, whose changes have been upstreamed into the Ammonite ↵ | Li Haoyi | 2017-12-24 | 9 | -459/+98 |
| | | | | | | master branch Remove the `out/run.sc` entrypoint script, using Ammonite's new `codeWrapper` API to synthesize the necessary wrapper/forwarder objects to substitute it | ||||
* | Allow Target creation from Result[T] (#79) | Roman Timushev | 2017-12-24 | 2 | -1/+17 |
| | |||||
* | Merge branch 'master' of github.com:lihaoyi/mill | Li Haoyi | 2017-12-20 | 20 | -33/+798 |
|\ | |||||
| * | Add Sonatypype publishing; | rockjam | 2017-12-20 | 20 | -276/+630 |
| | | | | | | | | now you can publish your module with `mill run MyModule.publish --credentials $SONATYPE_CREDENTIALS --gpgPassphrase $GPG_PASSPHRASE` | ||||
| * | publishLocal - looks like it works | dos65 | 2017-12-20 | 11 | -12/+369 |
| | | |||||
| * | Report errors when dependency resolution fails (#71) | Grant | 2017-12-18 | 5 | -22/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Report errors when dependency resolution fails Function `Lib.reolveDependencies` now checks the result of the coursier dependency resolution for errors. The return value of the fuction is now a `Result[Seq[PathRef]]` and errors are signaled by returning an instance of Failure when errors occur while resolving dependencies. `ScalaModule` now has a new task called `resolve` which allows for triggering dependency resolution directly from the cmd line like: `mill run resolve`. `ResolveDepsTests` was added to verify failed resolution is properly detected and reported. * Remove type signatures in ScalaModule.scala * Updates from PR comments |