summaryrefslogtreecommitdiff
path: root/build.sc
Commit message (Collapse)AuthorAgeFilesLines
...
* re-enable better-files test but with a newer version with offending ↵Li Haoyi2018-02-041-1/+1
| | | | CI-failure commented out
* properly embed the local module dependency graph metadata in published pom.xmlsLi Haoyi2018-02-041-3/+7
|
* fix artifact naming for publishLocal/publishLi Haoyi2018-02-041-7/+4
|
* Fix testsLi Haoyi2018-02-041-3/+7
|
* Add support for external modules, useful for things `GenIdea` supportLi Haoyi2018-02-041-1/+0
|
* Use the full path of a ScalaModule in it's default artifact name, rather ↵Li Haoyi2018-02-041-1/+1
| | | | than just the last segment
* Embed the `MILL_VERSION` to the `releaseAssembly` CLI flags so it knows ↵Li Haoyi2018-02-041-1/+1
| | | | which version of the various Mill jars it needs to resolve from maven central
* Publish all modules to support intellij navigation within build files, and ↵Li Haoyi2018-02-041-0/+4
| | | | remove hardcoded mill version from `ScalaWorkerApi`
* wip auto publishing...Li Haoyi2018-02-041-2/+52
|
* Remove the default `publishVersion` from `PublishModule`, and add `--batch` ↵Li Haoyi2018-02-041-4/+3
| | | | to gpg shellout to avoid popping up a password screen
* Make `TestEvaluator` infer it's `outPath` from the `sourcecode.FullName` and ↵Li Haoyi2018-02-031-1/+1
| | | | `utest.framework.TestPath`
* automatically create dest directory for targets to useLi Haoyi2018-02-021-2/+0
|
* use an implicit to indicate whether a ctx is within an external moduleLi Haoyi2018-02-021-4/+0
|
* compile zinc compiler bridges on demand to remove restriction on supported ↵Li Haoyi2018-02-021-38/+0
| | | | scala versions
* WIP: Scala js testing (#119)Nikolay Tatarinov2018-02-011-9/+19
| | | fixes #102. Use scala js testing framework to launch tests
* Fix publishLocal of Mill's own buildLi Haoyi2018-01-271-3/+20
|
* Make `idea` task configure the root module to have IntelliJ properly handle ↵Li Haoyi2018-01-271-8/+21
| | | | the `build.sc` file
* Migrate `scalajslib` over to a `T.worker` setup similar to `scalalib`Li Haoyi2018-01-251-4/+3
|
* remove unneeded ivy depsLi Haoyi2018-01-241-3/+1
|
* update mill build to work with new isolated scalaworkerLi Haoyi2018-01-231-13/+19
|
* WIP splitting `mill.scalaworker` out of `mill.scalalib` and into it's own ↵Li Haoyi2018-01-231-2/+15
| | | | 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-211-1/+0
| | | | | | | | | | | | `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
* Swap over to simplified Mill module/source layout from SBT'sLi Haoyi2018-01-201-2/+2
| | | | 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
* Introduce an Ammonite build to our test suiteLi Haoyi2018-01-171-1/+3
|
* - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependenciesLi Haoyi2018-01-151-20/+19
| | | | | | - `projectDeps` is now `moduleDeps` for compatibility with our `Module` terminology - `scalalib.Module` is now `ScalaModule` for compatibility with `import scalalib._`
* - Tweak Scalajs LinkerBridge project layout to match Mill defaultsLi Haoyi2018-01-141-1/+0
| | | | - Update `build.sc`, `build.sbt` and `ci/` scripts
* - Move synthetic SBT projects into `target` folderLi Haoyi2018-01-141-11/+12
| | | | | | - Update readme and `ci/` scripts to refer to new project layout - Remove stale `pprint.log`s
* fix-replLi Haoyi2018-01-141-1/+0
|
* more work to get tests passing...Li Haoyi2018-01-141-2/+2
|
* WIP getting rid of `discover/` phase: `core/test:compile` works, but some ↵Li Haoyi2018-01-131-2/+2
| | | | things still stubbed out with `???`
* rename OSet -> AggLi Haoyi2018-01-131-16/+16
|
* Migrate most classpath-related code onto `Loose.OSet` abstraction, to ↵Li Haoyi2018-01-131-16/+16
| | | | enforce deduplication
* - Make `sources` and `resources` able to take multiple roots, so we can ↵Li Haoyi2018-01-121-1/+1
| | | | implement `CrossSbtModule` that works with `scala-2.10/` `scala-2.11/` etc. folders
* collapse unnecessary generateXSources helper methodsLi Haoyi2018-01-111-7/+4
|
* Add generated sources target (#109)Minghao Liu2018-01-111-7/+7
| | | | | | | | | | | | * add generated source * naming * multiple content root * no message * fix output classes path
* Consolidate `Cross` and `CrossModule`, eliminate now-unused ↵Li Haoyi2018-01-081-2/+2
| | | | `map`/`flatMap`/`filter` APIs
* Swap over to a new, concise `CrossModule[T](..cases)` macro syntax that ↵Li Haoyi2018-01-071-4/+4
| | | | automatically propagates the `ctx` for you
* Generate the `Segments` list at definition time rather than discovery time, ↵Li Haoyi2018-01-071-6/+6
| | | | | | | | by propagating implicits throughout the tree of nested `mill.Module`s This currently adds some annoying boilerplate to the definition of cross/abstract modules, which can probably be removed using Macros. The `Segments` mapping generated by discovery is still present and used in a few places, though it will be removed
* First pass at implicitly propagating a `def basePath: Path` up the `Module` ↵Li Haoyi2018-01-071-12/+0
| | | | | | | | hierarchy, which each module receives and extends. One constraint is that now must define your abstract modules as `trait`s rather than `class`es, or otherwise add an implicit `ctx: ModuleCtx` parameter to your class definition. So far this lets us remove some explicit `basePath` definitions in `build.sc`. Proper handling of `basePath` in `CrossModule`s is future work
* Update `jsbridges` to use `CrossModule`Li Haoyi2018-01-041-3/+2
|
* remove unused cross-build demo code from build.scLi Haoyi2018-01-021-15/+0
|
* Swap over to new `CrossModule` class to simplify the cross module syntaxLi Haoyi2018-01-021-3/+2
|
* Make `forkArgs` work with `run` and `runMain`Li Haoyi2018-01-011-0/+1
|
* Split Acyclic/Jawn/BetterFiles tests into their own `integration/` test suite.Li Haoyi2018-01-011-3/+20
| | | | | | Those tests now download a snapshot of the relevant git repo rather than vendoring the files, and use a bare `build.sc` instead of having the build object be included in the test classpath. Tests pass using `sbt integration/test`, but `mill integration.test` still doesn't work
* Split out generic `T.input` tasks from the `T.source` helpers, allowing ↵Li Haoyi2017-12-311-1/+1
| | | | `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-311-1/+1
| | | | | | - Prepare `T.ctx().base: Path` that `Task`s (including `T.source`) can use to find a "default" path for source files. - Simplify `Cacher`
* `Core` -> `core`, for consistency with SBT naming schemesLi Haoyi2017-12-301-33/+34
| | | | | | | | `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)
* Assign different overrides of a Target different cache directories and ↵Li Haoyi2017-12-291-2/+3
| | | | paths, to fix https://github.com/lihaoyi/mill/issues/86
* Cross-publish for ScalaJSRoman Timushev2017-12-291-1/+1
|
* ScalaJS plugin buildRoman Timushev2017-12-291-2/+33
|