summaryrefslogtreecommitdiff
path: root/scalajslib
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* 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
* WIP: Scala js testing (#119)Nikolay Tatarinov2018-02-0111-74/+354
| | | fixes #102. Use scala js testing framework to launch tests
* DRY up test suite by making `Discover` generation implicitLi Haoyi2018-01-281-2/+1
| | | | Also avoid passing around `Discover` and `Evaluator` together, since the latter already contains the former
* Make `idea` task work with releaseAssembly and publishLocalLi Haoyi2018-01-271-1/+2
|
* Fix `dest`-assignment for overriden `T.command`s, and add basic unit tests ↵Li Haoyi2018-01-261-1/+3
| | | | to validate the `dest` paths of overriden commands and overriden targets
* Migrate `scalajslib` over to a `T.worker` setup similar to `scalalib`Li Haoyi2018-01-255-91/+111
|
* fix couple typos in scalajs tests: match test name with scala versionrockjam2018-01-221-3/+3
|
* Swap over to simplified Mill module/source layout from SBT'sLi Haoyi2018-01-207-2/+2
| | | | 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
* - Swap over to new `ivy"foo:bar:baz"` syntax for defining ivy dependenciesLi Haoyi2018-01-151-2/+2
| | | | | | - `projectDeps` is now `moduleDeps` for compatibility with our `Module` terminology - `scalalib.Module` is now `ScalaModule` for compatibility with `import scalalib._`
* - Collapse `Ctx#segments` and `Ctx#segments0` into one field, instead doing ↵Li Haoyi2018-01-151-3/+3
| | | | the prefix-stripping up-front in `BaseModule`