summaryrefslogtreecommitdiff
path: root/scalalib/test
Commit message (Collapse)AuthorAgeFilesLines
* Rename `root` IDEA module to `mill-build` to avoid collisionsLi Haoyi2018-04-083-3/+3
| | | | Fixes https://github.com/lihaoyi/mill/issues/279
* Properly support test frameworks which spawn child tasksLi Haoyi2018-04-083-0/+60
| | | | Needed to fix https://github.com/lihaoyi/mill/issues/286
* Enable JUnit testing, via sbt-test-interface, for `JavaModule`sLi Haoyi2018-04-086-14/+80
|
* bump test case to 2.12.4 for java9 compatLi Haoyi2018-04-081-1/+1
|
* Fix #282 by passing plugins as arguments to scaladocjulianmichael2018-04-082-0/+37
| | | | Plus a couple tests to sanity check.
* update travis mill versionLi Haoyi2018-04-071-1/+1
|
* avoid recursionLi Haoyi2018-04-071-2/+0
|
* clean up JavaModule/ScalaModule interactions and consolidate extensions into ↵Li Haoyi2018-04-071-1/+5
| | | | new resolveFooDependency methods
* First unit tests for `JavaModule`Li Haoyi2018-04-073-0/+75
|
* Merge branch 'master' into restore-masterRobby2018-04-072-7/+44
|\ | | | | | | | | | | # Conflicts: # .travis.yml # scalalib/src/mill/scalalib/Dep.scala
| * basic support for version pinning (used by default for ↵Li Haoyi2018-04-061-0/+37
| | | | | | | | scala-library/compiler) and for typelevel scala
| * fix buildLi Haoyi2018-04-061-7/+7
| |
* | revive #254 and fix #268 (#274)Sheng Chen2018-04-023-3/+87
| |
* | revert #254 to fix bootstrapping https://github.com/lihaoyi/mill/issues/268Li Haoyi2018-04-013-87/+3
| |
* | fixes #173; use default(compile) configuration for deps as default (#270)Nikolay Tatarinov2018-04-011-0/+8
|/
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-03-273-3/+87
|\
| * add exclusions and custom configuration to dependencies (#254)Sheng Chen2018-03-263-3/+87
| | | | | | | | | | | | * doc to address #187 and #246 * add exclusions and custom configuration to dependencies and tests
* | Ensure that transitive ivy jars are not directly aggregated under a module's ↵Li Haoyi2018-03-261-0/+25
|/ | | | | | `runClasspath`; only the ivy coordinates are aggregated, and every module resolves it's own set of ivy jars using coursier, which avoids duplicate jars entering the classpath through ivy Fixes https://github.com/lihaoyi/mill/issues/211
* try to fix classloading issues on runLocal and test with java 9 (#255)Nikolay Tatarinov2018-03-251-1/+8
| | | | | | | | | | * fix class loading for inprocess in java 9 * always add rt jar in case of java 9 * move all custom classloading logic into mill.util.ClassLoader * add comments explaining parent class loader changes and comment in tests pointing to original issue
* use Cache.default to determine coursier location(fixes tests on my OS X)rockjam2018-03-243-5/+4
|
* Support scala milestone releases (with fixes for 2.13.0-M3) (#247)Nikolay Tatarinov2018-03-202-1/+7
| | | | | | | | | | * return full scala version for milestone releases * complete support for scala 2.13.0-M2 * match 2.13 milestone releases for compiler bridge sources * add hello world test case for scala 2.13.0-M3
* Changes to make {clientserver,main,scalalib,scalajslib}.test work under Java ↵Robby2018-03-101-2/+2
| | | | | | | | | | 9 (#217) * Append "exported rt.jar" when creating URLClassLoader. * Disabled tests involving Scala 2.10 & 2.11 and nashorn. * Use java.net.URLClassLoader.
* fix optional xml tags in POM (#198)Nikolay Tatarinov2018-03-061-0/+199
|
* Add out/{module_name} as a content root in generated IntelliJ project (#196)Jeremy Apthorp2018-03-051-0/+1
|
* Bugfix/version contol (#192)Guillaume Massé2018-03-031-0/+74
| | | | | | * Fix several issues in VersionControl & add Test * Move VersionControl to it's own file
* Split out `upstreamAssembly` from `assembly`Li Haoyi2018-03-031-18/+6
| | | | Also re-write `Jvm.createAssembly` to allow incremental assembly construction. This should allow much faster assembly creation in the common case where upstream dependencies do not change
* Add dsl for SCM (now called VersionControl) (#168)Guillaume Massé2018-02-281-4/+2
| | | 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-261-3/+1
| | | | | | * Add predefined licenses from spdx * Fix License usages
* Update scala-library-2.12.4-sources.jar.xmlLi Haoyi2018-02-241-2/+2
|
* Update scala-library-2.12.4.jar.xmlLi Haoyi2018-02-241-2/+2
|
* Allow specifying classifiers in ivy deps (#159)Jeremy Apthorp2018-02-241-0/+7
|
* GenIdea updates including a fix for #147 (#149)Andrew Richards2018-02-213-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | * extract JDK version so you don't have to keep resetting it * give modules a base path looks much nicer in IntelliJ - the module is now in bold * exclude sbt target directories stops sbt artifacts appearing in search * Fix #147 - add IntelliJ scala library * exclude root sbt project and target folders from IJ search * only resort to full long path names for jars if the name is a duplicate duplicates are hard to find unless you are pulling the same thing from different repos (therefore different path) * update GenIdea tests * tidy GenIdea
* fix-testsLi Haoyi2018-02-212-5/+5
|
* Add unit test for main method discoveryLi Haoyi2018-02-176-9/+58
|
* Discover main class(es) via zincajrnz2018-02-161-4/+27
|
* fix GenIdea testsLi Haoyi2018-02-1110-68/+8
|
* attempt to fix publishAllLi Haoyi2018-02-071-1/+1
|
* allow Result.Failure to take a valueLi Haoyi2018-02-042-6/+6
|
* Fix testsLi Haoyi2018-02-041-8/+3
|
* Make use of `CrossScalaModule` in `HelloWorldTests`Li Haoyi2018-02-037-99/+141
| | | | Also standardize the `HelloWorldTests` onto the typical project layout, where the module of interest is nested within a top-level `BaseModule`
* fix scalalib testsLi Haoyi2018-02-033-110/+110
|
* Make `TestEvaluator` infer it's `outPath` from the `sourcecode.FullName` and ↵Li Haoyi2018-02-032-28/+7
| | | | `utest.framework.TestPath`
* - Renamed `Ctx.FooCtx` => `Ctx.Foo`Li Haoyi2018-02-022-14/+7
| | | | - Remove un-used `Evaluator#millSourcePath` parameter
* - Rename `basePath` -> `millSourcePath`Li Haoyi2018-02-022-29/+29
| | | | - 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-1/+1
| | | | scala versions
* DRY up test suite by making `Discover` generation implicitLi Haoyi2018-01-282-9/+2
| | | | Also avoid passing around `Discover` and `Evaluator` together, since the latter already contains the former
* Fix gen idea testsLi Haoyi2018-01-281-3/+3
|
* Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵Li Haoyi2018-01-262-2/+9
| | | | to validate the `dest` paths of overriden commands and overriden targets
* WIP splitting `mill.scalaworker` out of `mill.scalalib` and into it's own ↵Li Haoyi2018-01-231-6/+6
| | | | 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-4/+4
| | | | | | | | | | | | `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