| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
We were incorrectly duplicating the JDK classpath as part of the application classpath when we spawned the Mill server from the Mill client. This makes the transmission of application classpath to the Mill server explicit via an environment variable, so we don't end up including random things from the client classloader hierarchy that we didn't expect
|
|
|
|
|
|
|
|
| |
* wip
* Clean up more resources in the Mill client after every command
* catch and ignore SIGINT in Mill server to make it survive Ctrl-C on the client
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adding clean as a default task
* [WIP] Improve 'clean' paths resolution
* Improve clean targets resolution mechanism
* fix error on clean all
* update "clean all" to keep all 'out/mill-*' paths
* fix cross module resolution in clean task
* Add documentation for "clean" task
|
|
|
|
| |
user to run basic mill commands (#307)
|
|
|
| |
Otherwise we cannot rely on the exception message because the error returned by the java command line will be localized.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make builds able to depend on external projects
Builds are now able to load external projects and depend on them
as if they were local submodules.
`import $file.external.path.build`
* Disambiguate "dest" for foreign modules.
* Calling modules loaded from external directories "Foreign" to avoid
conflicting with the already existing concept of "ExternalModule".
* Amended the way `dest` is computed for foreign modules
* Added tests to check that the source paths and dest are as expected
* Added a test to show that local modules do not conflict with foreign
modules when they are named the same
* WIP windows build fail
* Added bootstrapping step in CYGWIN CI job
* * Revert externalOutPath deletion
* Add documentation for foreign-modules
* reverting appveyor changes
* Disabling Foreign modules tests against Java9
See https://github.com/lihaoyi/mill/issues/302
|
| |
|
| |
|
|
|
|
|
| |
- Unit tests for client code using the new Java support
- Make server auto-shutdown when the client version changes, to avoid stale-server confusion
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since Mill now executes in a long-lived JVM, the builds do not have a
chance to use environment variables as inputs. This propagates the
environment variables from the client all the way down to the context
available to the tasks as a `Map[String, String]` so that they can be
used as inputs should the user choose to do so.
https://github.com/lihaoyi/mill/issues/257
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
- Make `Evaluator` robust against `null` results
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
# Conflicts:
# .travis.yml
# scalalib/src/mill/scalalib/Dep.scala
|
| | | |
|
| | | |
|
|/ / |
|
|/ |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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!
|
| |
|
|
|
|
|
|
|
|
|
| |
file permission (#228)
* Added support for non-interactive (client/server) mode on Windows
* Fixed assembly URI path
* Skip setting posix file permission on Windows
|
|
|
| |
Fixes #161
|
|
|
|
|
|
|
|
|
|
| |
9 (#217)
* Append "exported rt.jar" when creating URLClassLoader.
* Disabled tests involving Scala 2.10 & 2.11 and nashorn.
* Use java.net.URLClassLoader.
|
|
|
|
|
|
|
|
|
|
| |
Windows (#207)
* Added AppVeyor config.
* Made JavaCompilerJarTests compatible with Windows.
* Disabled scalalib.test for now due to issues with Windows path length limit.
|
| |
|
|
|
|
|
| |
- Add a bunch of scaladoc for built in tasks
- Make `plan`, `path` etc. return a value that can JSON-serialized and displayed using `show`
|
|
|
|
| |
execution plan of running the `foo.bar` task looks like without actually evaluating it.
|
| |
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This helps us avoid accidentally depending on the Scala library, whose classloading takes tens to hundreds of milliseconds.
This removes the last parts of the Scala library used in the client (e.g. lambdas) and reduces `mill show core.compile` from ~380ms to ~290ms
|
| |
|
| |
|
| |
|
| |
|
| |
|