summaryrefslogtreecommitdiff
path: root/scalajslib
Commit message (Collapse)AuthorAgeFilesLines
* Enable JUnit testing, via sbt-test-interface, for `JavaModule`sLi Haoyi2018-04-081-3/+1
|
* avoid recursionLi Haoyi2018-04-071-3/+1
|
* clean up JavaModule/ScalaModule interactions and consolidate extensions into ↵Li Haoyi2018-04-071-2/+2
| | | | new resolveFooDependency methods
* bump upickle, ammonite versionsLi Haoyi2018-03-251-1/+5
|
* Support scala milestone releases (with fixes for 2.13.0-M3) (#247)Nikolay Tatarinov2018-03-201-11/+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
* avoid showing a stack trace if the ScalaJSModule gives a linking error, ↵Li Haoyi2018-03-194-11/+34
| | | | since the stdout will have the necessary information for debugging anyway
* Java 9 optimization by caching rt.jar (#239)Robby2018-03-192-5/+10
| | | | | | | | | | | | | | * Upgraded Ammonite to 1.0.5-7-f032887 that includes a Java 9 performance optimization for mill's client-server mode (lihaoyi/Ammonite#773). * Java 9 optimization for interactive mode by caching rt.jar. * Refactored based on @lihaoyi's comments on #239. * Removed client side rt.jar caching. * Propagatio of home path from Cli. * Propagation, propagation, propagation!
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-03-186-32/+64
|\
| * Changes to make {clientserver,main,scalalib,scalajslib}.test work under Java ↵Robby2018-03-103-18/+18
| | | | | | | | | | | | | | | | | | | | 9 (#217) * Append "exported rt.jar" when creating URLClassLoader. * Disabled tests involving Scala 2.10 & 2.11 and nashorn. * Use java.net.URLClassLoader.
| * ScalaJSModule: Support to switch between NoModule and CommonJSModule ↵Lorenzo Gabriele2018-03-094-14/+46
| | | | | | | | ModuleKinds (#212)
* | Properly close Scala.js test adapters when done, after letting the IO drain ↵Li Haoyi2018-03-184-16/+28
|/ | | | properly
* Improve fullOpt behavior (#203)Dennis4b2018-03-052-4/+12
| | | | | | | | | Specifically, fix 2 issues in order to better mirror the behavior of "sbt fullOptJS" - Invoke the Google Closure Compiler after generating the optimized Javascript output - Set scala.scalajs.LinkingInfo.developmentMode = false (and productionMode = true) when building fullOpt in order to allow Scala.js code to distinguish between development and production mode.
* Allows users to customize Node.js (Scala.js' NodeJSEnv) in ScalaJSModule (#195)Robby2018-03-056-17/+158
| | | | | | | | | | | | | | * Adds Node.js configuration in ScalaJSModule. * Adds Node.js configuration in ScalaJSModule test framework. * Refactored ScalaJSBridge Node.js env creation. * Readjusted ScalaJSBridge 0.6 formatting. * Added Node.js config tests. * Removed NodeJSConfig ScalaTest tests and improved log test conditions.
* Remove one more `runMain` test caseLi Haoyi2018-03-031-8/+3
|
* make mainClass discovery work in ScalaJSModule#runLi Haoyi2018-03-033-48/+20
| | | | Also disable ScalaJSModule#runMain, since the official Scala.js-SBT plugin does not support it and it requires an expensive re-linking every time it is run.
* share repositories between ScalaWorker and ScalaModuleLi Haoyi2018-03-021-1/+1
|
* Allow people to substitute in their own implementation of ↵Li Haoyi2018-03-021-1/+2
| | | | ScalaModule#scalaWorker to configure resolvers/etc.
* Add dsl for SCM (now called VersionControl) (#168)Guillaume Massé2018-02-281-5/+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
* 0.1.30.1.3Li Haoyi2018-02-251-1/+1
|
* make scala.js work with multi-module projects (#165)Nikolay Tatarinov2018-02-268-33/+178
|
* A few attempts at micro-optimizing the current hot spotsLi Haoyi2018-02-252-2/+2
|
* use DepSyntax in Scala.js tests (#155)Nikolay Tatarinov2018-02-241-2/+2
|
* support multiple test frameworks (#148)Nikolay Tatarinov2018-02-222-4/+4
| | | support multiple test frameworks
* fix-testsLi Haoyi2018-02-211-1/+3
|
* - Fix UpickleTests' JS case when running forkedLi Haoyi2018-02-111-3/+3
| | | | - 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-111-1/+1
|
* Properly pick up non-top-level sjsir files during `fastOptJS`Li Haoyi2018-02-111-1/+1
|
* Refactor ScalaModule to simplify it and delay ivy resolution until the last ↵Li Haoyi2018-02-111-5/+5
| | | | moment
* make ScalaJSModule override scalaLibraryDeps instead of overriding ivyDeps, ↵Li Haoyi2018-02-111-2/+1
| | | | to reduce the change for conflict
* WIP getting Scala.js dependencies working nicelyLi Haoyi2018-02-111-6/+6
|
* fix jsbridges dependencyLi Haoyi2018-02-101-1/+1
|
* Make ScalaJSModule avoid stomping over existing definitionsLi Haoyi2018-02-101-3/+8
|
* Some long-overdue renamingsLi Haoyi2018-02-091-1/+1
|
* scala.js run (#127)Nikolay Tatarinov2018-02-095-17/+111
| | | | scala.js run command
* attempt to fix publishAllLi Haoyi2018-02-071-1/+1
|
* fix artifact naming for publishLocal/publishLi Haoyi2018-02-041-1/+1
|
* allow Result.Failure to take a valueLi Haoyi2018-02-041-3/+3
|
* Fix testsLi Haoyi2018-02-041-1/+1
|
* Add support for external modules, useful for things `GenIdea` supportLi Haoyi2018-02-041-0/+2
|
* Fix `HelloJsWorld` testsLi Haoyi2018-02-042-34/+34
|
* fix compileLi Haoyi2018-02-041-0/+1
|
* 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
* flexiblize T.sources and use it widely, which lets us fix --watchLi Haoyi2018-02-031-2/+2
|
* fix scalalib testsLi Haoyi2018-02-032-4/+8
|
* Make `TestEvaluator` infer it's `outPath` from the `sourcecode.FullName` and ↵Li Haoyi2018-02-031-9/+6
| | | | `utest.framework.TestPath`
* - Renamed `Ctx.FooCtx` => `Ctx.Foo`Li Haoyi2018-02-022-2/+1
| | | | - Remove un-used `Evaluator#millSourcePath` parameter
* - Rename `basePath` -> `millSourcePath`Li Haoyi2018-02-021-6/+6
| | | | - 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-022-5/+4
| | | | scala versions
* Move `ScalaWorkerApi`/`ScalaJSBridge` over to new `ExternalModule` classLi Haoyi2018-02-021-1/+1
| | | | Also add a simple unit to validate that you can use `ExternalModule`s as part of a build, and that the