summaryrefslogtreecommitdiff
path: root/scalaplugin/src/test
Commit message (Collapse)AuthorAgeFilesLines
* [issue-39] add logging output to file (#53)Ilya Murzinov2017-12-111-0/+6
|
* Implement a `SbtScalaModule` helper trait, to conveniently set up the ↵Li Haoyi2017-12-102-8/+2
| | | | | | default source/test locations for builds using SBT project layout Also split out plain-old-Scala-logic in `Lib` from inheritable traits in `ScalaModule`, since `ScalaModule` was getting a bit unwieldy
* pass compile analysis of projectDeps to zinc, fixes #29rockjam2017-12-072-2/+4
|
* Hackily speed up repeated Scala compiles by keeping a global cache of hot ↵Li Haoyi2017-12-051-1/+1
| | | | ScalaInstance/Classloader instances around between compiles
* merge cross-bridge into masterLi Haoyi2017-12-053-29/+30
|\
| * Standardize on a `mill.util.Logger` classLi Haoyi2017-12-041-4/+3
| |
| * Update test caseLi Haoyi2017-12-041-1/+1
| |
| * Cross building acyclic now works, using a locally compiled cross-versioned ↵Li Haoyi2017-12-041-2/+3
| | | | | | | | | | | | compiler-bridge.jar. For now just hardcode the Scala versions we want to support as part of the build; we can figure out how to do the runtime download&compile thing later
* | swap run and runMain commandsrockjam2017-11-301-7/+7
| |
* | implment runMain commandrockjam2017-11-301-1/+24
| |
* | mainClass supportrockjam2017-11-301-1/+21
|/
* first pass at building better-files using MillLi Haoyi2017-11-2941-0/+6014
|
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2017-11-275-20/+279
|\
| * fix #8 simple 'hello world' scala module with tests on it; extract test ↵Nikolay Tatarinov2017-11-275-20/+279
| | | | | | | | evaluator (#30)
* | Acyclic cross-version tests are runningLi Haoyi2017-11-271-2/+16
|/
* Tweak readme, fix SBT executable assembly prefixLi Haoyi2017-11-271-8/+9
|
* Get acyclic's tests running after compilation failures, fixing a ↵Li Haoyi2017-11-261-12/+4
| | | | metadata.mill.json invalidation bug
* Acyclic test suite works now that we can fork and set a proper working ↵Li Haoyi2017-11-261-24/+40
| | | | directory, but only when run alone (???)
* Isolate TestRunner classloader to try and get AcyclicTests working...Li Haoyi2017-11-261-2/+2
|
* WIP getting Acyclic build working in Mill. Test suite doesn't work, neither ↵Li Haoyi2017-11-262-119/+98
| | | | does non-2.12 versions of Scala, but compiling the main code on 2.12 works
* Tweak example acyclic cross-build to show off cross-dependenciesLi Haoyi2017-11-161-14/+17
|
* Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first ↵Li Haoyi2017-11-1660-0/+1025
| | | | non-working experiments in cross building working...
* remove metacircular tests, since build.sc now serves that purposeLi Haoyi2017-11-111-62/+0
|
* - Smoothed out syntax for defining ivy dependenciesLi Haoyi2017-11-111-8/+8
| | | | - Made `build.sc` file directly runnable using Ammonite, without any wrapper
* Swap over to new `projectDeps` mechanism for defining dependencies between ↵Li Haoyi2017-11-111-2/+2
| | | | various `scalaplugin.Subproject`s
* rename forge -> millLi Haoyi2017-11-101-5/+5
|
* Recursive main-method resolution now works, as part of the normal discovery ↵Li Haoyi2017-11-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | recursion ```scala @ import forge.util.JsonFormatters._ import forge.util.JsonFormatters._ @ forge.discover.Discovered[forge.scalaplugin.MetacircularTests.type] @ forge.discover.Discovered[forge.scalaplugin.MetacircularTests.type].mains res2: Seq[...] = List( NestedEntry(List("ScalaPlugin"), ..., EntryPoint("run", ...)), NestedEntry(List("Core"), ..., EntryPoint("run", ...) ) @ forge.discover.Discovered[forge.scalaplugin.MetacircularTests.Core.type].mains res3: Seq[...] = List( NestedEntry(List(), ..., EntryPoint("run", ...)) ) ```
* Break out reusable JVM specific stuff into its own fileLi Haoyi2017-11-051-0/+1
|
* Re-organize `forge/` folder according to ordering of build phases: target ↵Li Haoyi2017-11-051-1/+3
| | | | definition, target discovery, and target evaluation
* Shorted `ScalaDep.Scala(...)`/`ScalaDep.PointScala(...)` into ↵Li Haoyi2017-11-041-5/+5
| | | | `ScalaDep(...)` and `ScalaDep.Point(...)`
* Collapse `LocalDef` into `T{...}` macro, make it more flexible so it only ↵Li Haoyi2017-11-041-1/+1
| | | | | | caches `def`s (and complains about `val`s) if it's defined top-level in a class/trait/object, for easy overriding. If it's in some helper function somewhere, overriding doesn't matter, and it's up to the user to figure out how to construct a target graph without redundancy
* Migrate `MetacircularTests` over to new cached-def mechanismLi Haoyi2017-11-041-13/+13
|
* Implement `ScalaDep` ADT to encapsulate handling on scala cross-version suffixesLi Haoyi2017-11-041-7/+9
|
* `T.apply{}` -> `T{}`Li Haoyi2017-11-041-1/+1
|
* Remove unnecessary deps in `MetacircularTests`Li Haoyi2017-11-041-11/+0
|
* Split up forge into `scalaplugin` an `core` subprojects, to allow us to use ↵Li Haoyi2017-11-031-0/+68
the `T#apply` macro in the implementation of `scalaplugin.Subproject` Also needed to implement inter-`Subproject` dependencies so the `MetacircularTests` can continue to support the new layout