summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* readme: Fix Gitter badge (#90)Tim Nieradzik2018-01-011-1/+1
|
* Update readme.mdLi Haoyi2017-12-311-1/+4
|
* Make sure we properly catch exceptions when a `Task` returning an explicit ↵Li Haoyi2017-12-311-0/+2
| | | | `Result[T]` instead throws an exception
* fix #57 implement eval function to evaluate multiple tasks via replrockjam2017-12-314-1/+36
|
* Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵Li Haoyi2017-12-316-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 timeLi Haoyi2017-12-3121-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 Haoyi2017-12-302-20/+60
|
* `Core` -> `core`, for consistency with SBT naming schemesLi Haoyi2017-12-30194-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/ folderLi Haoyi2017-12-301-0/+28
|
* Make use of `T.command`s `T.ctx().dest` in `ScalaPlugin#test.test` and ↵Li Haoyi2017-12-308-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 Haoyi2017-12-297-51/+46
| | | | `Target` within a single folder
* Assign different overrides of a Target different cache directories and ↵Li Haoyi2017-12-299-41/+94
| | | | paths, to fix https://github.com/lihaoyi/mill/issues/86
* Merge pull request #67 from lihaoyi/scalajsRoman Timushev2017-12-2917-29/+456
|\ | | | | Scala.js support
| * Fix running ScalaJS plugin tests from SBTRoman Timushev2017-12-292-2/+2
| |
| * Cross-publish for ScalaJSRoman Timushev2017-12-296-29/+78
| |
| * ScalaJS pluginRoman Timushev2017-12-299-3/+312
| |
| * Move TestEvaluator to coreRoman Timushev2017-12-295-2/+5
| |
| * ScalaJS plugin buildRoman Timushev2017-12-292-5/+71
| |
* | More tidying up in TaskLi Haoyi2017-12-291-55/+61
|/
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-12-291-18/+17
|\
| * Do not use tar for jar verification (#85)Roman Timushev2017-12-291-18/+17
| |
* | Tidy up Task.scala macros...Li Haoyi2017-12-292-21/+65
| |
* | Kill old `LabelledTarget` classesLi Haoyi2017-12-2913-99/+69
|/
* WIP Migrating `Target` name/pickler generation from the `Mirror` discovery ↵Li Haoyi2017-12-2910-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 Haoyi2017-12-281-32/+33
| | | | of shelling out
* First pass at generating CLI output when you run `Target`s, based on their ↵Li Haoyi2017-12-283-17/+59
| | | | return values, converted to JSON
* Properly propagate failures in task evaluation to the ammonite script runnerLi Haoyi2017-12-282-13/+15
|
* get --repl working with bin/test:runLi Haoyi2017-12-282-2/+7
|
* fix repl flagLi Haoyi2017-12-281-2/+5
|
* Move all the source generation logic into a `shared.sc` file to avoid ↵Li Haoyi2017-12-283-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 Mak2017-12-275-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 Tatarinov2017-12-271-8/+8
|
* Slightly simplify `test.sh` matrix and cache more evaluators in ↵Li Haoyi2017-12-265-123/+90
| | | | `HelloWorldTests`, to try and speed up `test.sh` runs
* Cache scala compiler jars in a separate classloader from the compiler plugin ↵Li Haoyi2017-12-262-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 SBTLi Haoyi2017-12-262-6/+15
|
* Simplify `MainRunner` and `RunScript` codeLi Haoyi2017-12-264-54/+49
|
* Greatly simplify `CustomCodeWrapper`Li Haoyi2017-12-263-36/+15
|
* Simplify `AcyclicTests` a bit to speed it upLi Haoyi2017-12-261-2/+2
|
* Fix `HelloWorldTests.scala`Li Haoyi2017-12-261-6/+5
|
* - Shift `MappingCtx` into a magic `LoaderCtx` `Loader` to avoid circular ↵Li Haoyi2017-12-269-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 Haoyi2017-12-2517-80/+87
| | | | Tasks, for usage within `GenIdea` and similar
* Refactor `mill.Main` to avoid going through Ammonite's main-method-dispatch ↵Li Haoyi2017-12-258-190/+303
| | | | system
* prepare mill-bridges to be published to maven central (#78)Nikolay Tatarinov2017-12-243-15/+24
|
* Fix Idea project for cross-modules (#80)Roman Timushev2017-12-241-3/+11
|
* Remove `Router.scala`, whose changes have been upstreamed into the Ammonite ↵Li Haoyi2017-12-249-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 Timushev2017-12-242-1/+17
|
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-12-2020-33/+798
|\
| * Add Sonatypype publishing;rockjam2017-12-2020-276/+630
| | | | | | | | now you can publish your module with `mill run MyModule.publish --credentials $SONATYPE_CREDENTIALS --gpgPassphrase $GPG_PASSPHRASE`
| * publishLocal - looks like it worksdos652017-12-2011-12/+369
| |
| * Report errors when dependency resolution fails (#71)Grant2017-12-185-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