summaryrefslogtreecommitdiff
path: root/scalalib/test/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* use Cache.default to determine coursier location(fixes tests on my OS X)rockjam2018-03-241-3/+2
|
* Support scala milestone releases (with fixes for 2.13.0-M3) (#247)Nikolay Tatarinov2018-03-201-1/+2
| | | | | | | | | | * 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
|
* 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
* Allow specifying classifiers in ivy deps (#159)Jeremy Apthorp2018-02-241-0/+7
|
* GenIdea updates including a fix for #147 (#149)Andrew Richards2018-02-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * 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-171-9/+25
|
* Discover main class(es) via zincajrnz2018-02-161-4/+27
|
* fix GenIdea testsLi Haoyi2018-02-111-16/+4
|
* 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-031-87/+108
| | | | 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-032-105/+105
|
* 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
* Implement basic wildcard task running via e.g. `mill _.compile`Li Haoyi2018-01-211-1/+0
|
* Swap over to simplified Mill module/source layout from SBT'sLi Haoyi2018-01-203-0/+518
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