summaryrefslogtreecommitdiff
path: root/main/src
Commit message (Collapse)AuthorAgeFilesLines
...
* optimize output streaming to allow batch writesLi Haoyi2018-05-221-14/+22
|
* 0.2.20.2.2Li Haoyi2018-05-201-1/+0
|
* Preserve caches between interactive and client/server mode (#342)Li Haoyi2018-05-191-0/+1
| | | | 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 keep mill server alive if you Ctrl-C during --watch (#339)Li Haoyi2018-05-193-36/+67
| | | | | | | | * 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
* Allow shebang with launcherUniversalScript (#338)Matthew de Detrich2018-05-181-1/+3
|
* [WIP] Fixes #227; add `mill clean` (#315)Guillaume Galy2018-05-162-1/+111
| | | | | | | | | | | | | | | | * 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
* don't fail command when there is no build.sc file in directory. Lets the ↵Nikolay Tatarinov2018-05-071-3/+8
| | | | user to run basic mill commands (#307)
* Make builds able to depend on external projects (#291)Olivier Mélois2018-04-181-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* rename modules scalaworker -> scalalib.worker, client -> main.clientLi Haoyi2018-04-123-4/+4
|
* rename Cached#v -> valueLi Haoyi2018-04-101-1/+1
|
* - Swap client-server integer encoding over to a more standard format (32-bit)Li Haoyi2018-04-092-14/+16
| | | | | - Unit tests for client code using the new Java support - Make server auto-shutdown when the client version changes, to avoid stale-server confusion
* mergeLi Haoyi2018-04-084-11/+27
|\
| * Adds envVars propagation client -> serverOlivier Melois2018-03-293-9/+20
| | | | | | | | | | | | | | | | | | | | 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
* | Merge commit '36eb8bd6bfd534d002b01f8800e4b5d896aa4e77' into client-javaLi Haoyi2018-04-071-1/+5
|\ \
| * | - Add `mill version` commandLi Haoyi2018-04-061-1/+5
| | | | | | | | | | | | - Make `Evaluator` robust against `null` results
* | | migrate client module onto new JavaModule traitLi Haoyi2018-04-072-19/+24
| | |
* | | first pass at moving mill client over to JavaModuleLi Haoyi2018-04-073-3/+187
|/ /
* | Detect sh/batch launcher, dev.assembly, and release filename.Robby2018-03-311-1/+5
| |
* | Universal script generation for assembly, launcher, and release (#264)Pierre Kisters2018-03-291-18/+34
|/
* Windows client/server improvements (#262)Robby2018-03-291-0/+9
|
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-03-251-10/+7
|\
| * try to fix classloading issues on runLocal and test with java 9 (#255)Nikolay Tatarinov2018-03-251-10/+7
| | | | | | | | | | | | | | | | | | | | * 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
* | update bump Ammonite to 1.1.0 stableLi Haoyi2018-03-251-1/+1
| |
* | update to latest Ammonite using latest upickle RCLi Haoyi2018-03-241-1/+1
|/
* Batch (.bat) file generation for assembly, launcher, and release (#243)Robby2018-03-202-11/+26
|
* Java 9 optimization by caching rt.jar (#239)Robby2018-03-195-6/+14
| | | | | | | | | | | | | | * 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!
* Skip signature files in assembly (#232)Gabriele Petronella2018-03-171-3/+8
|
* Windows non-interactive (client/server) support, and fix assembly and posix ↵Robby2018-03-161-11/+15
| | | | | | | | | file permission (#228) * Added support for non-interactive (client/server) mode on Windows * Fixed assembly URI path * Skip setting posix file permission on Windows
* MainModule/resolve: print results sorted alphabetically (#216)Shani Elharrar2018-03-101-1/+1
| | | Fixes #161
* 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.
* Fixes for Windows. (#205)Robby2018-03-061-3/+3
|
* - Rename `describe` to `inspect` for consistency with SBTLi Haoyi2018-03-041-5/+71
| | | | | - Add a bunch of scaladoc for built in tasks - Make `plan`, `path` etc. return a value that can JSON-serialized and displayed using `show`
* Introduced the `mill plan foo.bar` command, which shows you what the ↵Li Haoyi2018-03-041-0/+16
| | | | execution plan of running the `foo.bar` task looks like without actually evaluating it.
* Split out `upstreamAssembly` from `assembly`Li Haoyi2018-03-032-72/+83
| | | | 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
* Port Mill client over to JavaLi Haoyi2018-02-262-55/+2
| | | | | | 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
* force build REPL to be run using -i/--interactiveLi Haoyi2018-02-261-27/+33
|
* bump Ammonite versionLi Haoyi2018-02-251-30/+30
|
* print help text & parse errors to the correct output streamLi Haoyi2018-02-251-2/+2
|
* A few attempts at micro-optimizing the current hot spotsLi Haoyi2018-02-252-20/+40
|
* cache hashCodes as part of meta.json to avoid needlessly re-hashing thingsLi Haoyi2018-02-251-2/+2
|
* Save the signature of a `PathRef` to avoid re-stating files every time they ↵Li Haoyi2018-02-251-1/+1
| | | | are de-serialized
* Changed the default home location (#163)Olivier Mélois2018-02-251-3/+5
| | | | | | | * Mill's default home folder is now $HOME/.mill/ammonite This lets users provide global settings by defining a predef.sc file in that home folder. * Re-enabled the --home cli param to manually set the home folder
* Fix `-w` using the new client-server modeLi Haoyi2018-02-242-10/+2
|
* Properly propagate exit codes from server output to clientLi Haoyi2018-02-241-2/+2
|
* better error messages when you run interactive commands without -iLi Haoyi2018-02-242-18/+28
|
* Implement `-i` flag to allow interactive usageLi Haoyi2018-02-242-3/+21
|
* Clean up the provisional client-server code with unit tests and proper ↵Li Haoyi2018-02-246-322/+129
| | | | | | | | file-sockets Seems to work well enough for interactive scala consoles, though still not Ammonite Also Added ScalaModule#launcher and re-worked our build.sc file to use it
* revert back to mill.Main by defaultLi Haoyi2018-02-201-1/+0
|
* Only invalidate Evaluator.State cache if the `interpWatched` files we used ↵Li Haoyi2018-02-201-8/+6
| | | | to create the Evaluator change, not when other random files we're building do
* Cleanup...Li Haoyi2018-02-203-23/+14
|