summaryrefslogtreecommitdiff
path: root/integration
Commit message (Collapse)AuthorAgeFilesLines
* Print out when tests are skippedTobias Roeser2019-09-051-2/+3
|
* Discover - break overridesRoutes into fixed size chunks (#509)Gregor Uhlenheuer2018-12-145-1/+320
| | | | | | | | | | * Discover - break overridesRoutes into fixed size chunks * Discover - simplify lambda creation * add LargeProjectTests * LargeProjectTests: remove Ydelambdafy
* collapse boilerplate folder structure within src/ folders (#505)Li Haoyi2018-12-1211-0/+0
| | | | | | * collapse boilerplate folder structure within src/ folders * .
* First pass at splitting out worker-api from mill core. (#504)Li Haoyi2018-12-124-5/+5
| | | | | | | | | This reduces the {scala,scalajs,scalanative}-worker dependency from the entirety of Mill to a much narrower `mill.api` module. This reduces the amount of classpath pollution within these workers, should mean they're much faster to download the first time, and reduces the amount of random junk they would pull in if they were to be used outside of the Mill project. The interactions between the various *Modules and their *WorkerImpls has been narrowed down to the `*.api` modules, which only depend on other `*.api` modules. A lot of things have been moved around; user code is unlikely to break, but it's possible some will if it references classes that have been moved around. Forwarders have been left for the few internal classes that Mill uses in it's own `build.sc`, to support bootstrapping. Third-party code which breaks should be a straightforward to fix just by updating imports The `*.api` modules have minimal dependencies (mostly uPickle and os-lib) and minimal code. There is still a bunch of implementation code in there: some of it defining data-types that are commonly sent across the module/worker interface (`Agg`, `PathRef`, ...), and some of it just general helper functions that are needed both in modules and workers. The latter code isn't strictly API definitions, but for now is small enough it's not worth splitting into it's own module
* fix testsLi Haoyi2018-12-121-1/+1
|
* Merge branch 'rebootstrap' into testLi Haoyi2018-11-061-0/+1
|\
| * 0.3.4Li Haoyi2018-11-061-0/+1
| |
* | mergeLi Haoyi2018-11-061-17/+1
|\ \ | |/ |/|
* | bump ammonite integration test version, remove 2.11.8 build since it blows ↵Li Haoyi2018-11-063-36/+195
| | | | | | | | up mysteriously
* | fix assembly path handling, swap out Jvm.scala's custom subprocess handling ↵Li Haoyi2018-11-052-3/+3
| | | | | | | | with os.proc
* | WIP migrating over from `ammonite.ops` to `os` module.Li Haoyi2018-11-0517-72/+68
|/ | | | __.compile works, haven't run tests yet
* Include scaladoc as part of mill inspect (#435)Li Haoyi2018-09-204-0/+66
|
* Fix incremental compilation when a Scala project depends on a Java project ↵Guillaume Martres2018-08-251-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#414) * Upgrade ammonite to 1.1.2-30-53edc31 This is mainly to get https://github.com/lihaoyi/Ammonite/pull/851 which should reduce the amount of unnecessary work done by incremental compilation in the Mill build. This requires some code changes since this means we now depend on a more recent version of coursier, as a side-effect this means that we do not depend on scalaz anymore. Also use the same ammonite version in the Mill build and in ScalaModule#ammoniteReplClasspath. Also remove an incorrect dependency in the caffeine integration test. This was always wrong but did not start failing until this commit, probably due to dependencies appearing in a different order on the classpath. * Rename ScalaWorker to ZincWorker Starting with the next commit, it will be used in Java-only projects too, so the name is misleading. * Upgrade to Zinc 1.2.1 * Fix incremental compilation when a Scala project depends on a Java project Before this commit, JavaModule#compile simply called javac unconditionally, thus generating new classfiles every time. But if a Scala project depends on a Java project, this will throw off the incremental compilation algorithm which will unnecessarily recompile files. To avoid this we now use Zinc to compile Java projects too (as a bonus this means that Java compilation becomes incremental). This required some refactoring in ZincWorkerImpl to be able to compile stuff without having to pass Scala-specific options. The issue solved by this commit could be reproduced by running in the Mill repository: $ mill main.compile $ mill -i @ main.compile() and observing that before this commit, the `main.compile()` call ended up recompiling code.
* fix testng referenceLi Haoyi2018-08-181-1/+1
|
* Add support for Dotty projects (#397)Guillaume Martres2018-08-054-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Abstract over the scala compiler organization * Support using a locally published compiler Publishing locally with sbt means publishing ivy-style, which uses a different naming convention than maven, we now handle both cases. * Add minimal support for Dotty projects * Rewrite scalalib.Dep, introduce scalalib.CrossVersion Instead of Dep being a trait with three cases (Java/Scala/Point), it is now a case class where the cross field is an instance of the CrossVersion trait which has three cases (Constant/Binary/Full). This is more versatile since it allows for non-empty constant suffixes which will be used to implement withDottyCompat in the next commit. It's also a cleaner separation of concerns. We also deduplicate various pieces of codes that computed the artifact name: this is now always handled in Dep and CrossVersion. * Add simple way to use Scala 2 deps in a Dotty project This is similar to the withDottyCompat method in the sbt-dotty plugin. * Turn off the Dotty test on Java >= 9
* rename modules scalaworker -> scalalib.worker, client -> main.clientLi Haoyi2018-04-121-1/+1
|
* - Swap client-server integer encoding over to a more standard format (32-bit)Li Haoyi2018-04-091-1/+1
| | | | | - Unit tests for client code using the new Java support - Make server auto-shutdown when the client version changes, to avoid stale-server confusion
* caffeine core and guava tests seem to passLi Haoyi2018-04-092-2/+8
|
* Caffeine junit & testng suites seem to passLi Haoyi2018-04-092-5/+17
|
* Get first `caffeine.test` suite running in `CaffeineTests`Li Haoyi2018-04-092-4/+10
|
* First pass at a Caffeine integration build now works (only on Java 9 tho)Li Haoyi2018-04-086-3/+300
|
* Enable JUnit testing, via sbt-test-interface, for `JavaModule`sLi Haoyi2018-04-081-1/+1
|
* try to fix buildLi Haoyi2018-04-063-10/+5
|
* fix type in release.sh scriptrockjam2018-03-281-1/+1
|
* WIP: Play json build (#182)Nikolay Tatarinov2018-03-2813-3/+766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * play json build * build progress * add check task * try to make play json js build * scalariform and mima plugins in separate files. check mima * better error message for mima compatibility check * fix scala 2.10 compilation * license headers support * add jmh support * fix reformat on compile; fix code validation; extract base module * remove scala 2.13 from cross versions * include play-json in integration tests * add example .travis.yml * bring back scala 2.13 support * make reformat target, not command * add release task * update mill version in travis.yml * update release script * update release process * add README.md for play json build
* Test mill using Java 9 (in addition to Java 8) (#219)Robby2018-03-102-5/+12
| | | | | | | | * Test mill using Java 9 (in addition to Java 8). * Use mill -i. * Fixed Java 9 path.
* Add dsl for SCM (now called VersionControl) (#168)Guillaume Massé2018-02-282-9/+3
| | | The scm url syntax is a source of confusion for developper. I added VersionControl.github() to simplify this process. We can add other common VersionControl url scheme like Bazar, etc.
* Add predefined licenses from spdx (#144)Guillaume Massé2018-02-262-6/+2
| | | | | | * Add predefined licenses from spdx * Fix License usages
* support multiple test frameworks (#148)Nikolay Tatarinov2018-02-225-9/+9
| | | support multiple test frameworks
* - Fix UpickleTests' JS case when running forkedLi Haoyi2018-02-111-3/+4
| | | | - Shard out forked/local integration tests over the different `test-mill-*.sh` scripts, to try and reduce test times while maintaining coverage
* make test-mill-release run integration tests using the release assemblyLi Haoyi2018-02-119-8/+26
|
* add uPickle to our integration test suiteLi Haoyi2018-02-112-0/+171
|
* fixesLi Haoyi2018-02-112-5/+13
|
* more tidying upLi Haoyi2018-02-111-1/+1
|
* fix testsLi Haoyi2018-02-101-1/+1
|
* re-enable better-files test but with a newer version with offending ↵Li Haoyi2018-02-041-1/+5
| | | | CI-failure commented out
* disable better-files tests for now since they seem broken only in travisLi Haoyi2018-02-041-5/+1
|
* Test fixes...Li Haoyi2018-02-041-6/+5
|
* - Rename `basePath` -> `millSourcePath`Li Haoyi2018-02-023-4/+4
| | | | - Make `T.worker`s not flush out their directories between instantiations
* compile zinc compiler bridges on demand to remove restriction on supported ↵Li Haoyi2018-02-021-2/+2
| | | | scala versions
* Extract out `ScriptTestSuite` from `IntegrationTestSuite` and use it to ↵Li Haoyi2018-01-281-24/+11
| | | | | | 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
* First incomplete pass at writing docsLi Haoyi2018-01-272-7/+3
|
* Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵Li Haoyi2018-01-261-0/+1
| | | | to validate the `dest` paths of overriden commands and overriden targets
* - Make `forkTest` and `forkRun` the default, renaming `test` and `run` to ↵Li Haoyi2018-01-211-4/+9
| | | | | | | | | | | | `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-209-1/+1
| | | | 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-173-1/+220
|
* Implement downloading/caching of binaries and java-source-folder support to ↵Li Haoyi2018-01-172-1/+7
| | | | make better-files benchmarks compile; fixes https://github.com/lihaoyi/mill/issues/37
* - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependenciesLi Haoyi2018-01-153-33/+32
| | | | | | - `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/+1
| | | | - Update `build.sc`, `build.sbt` and `ci/` scripts
* more work to get tests passing...Li Haoyi2018-01-141-1/+1
|