summaryrefslogtreecommitdiff
path: root/scalalib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Allow configuration of TestRunner's ScalaWorkerModule (#364)aosagie2018-06-062-3/+3
| |
* | avoid duplicating core scala libraries during artifact resolution to fix ↵Li Haoyi2018-06-093-4/+13
|/ | | | https://github.com/lihaoyi/mill/issues/368
* fix #233 add append and exclude rules to assembly (#309)Nikolay Tatarinov2018-06-017-16/+295
| | | | | | | | | | | | | | | | | | | | | | | | * fix #233 add append and exclude rules to assembly * handle existing files and concatenation when file already exists in assembly * add assembly tests for append rules * tests for append patterns * tests for exclude patterns * make append algorithm use single map with fold over classpathIterator * move assembly rules logic to method * move grouping method to Assembly object, make assemblyRules Seq[_] rather than T[Seq[_]] * add test cases for when there are no rules * keep default parameter in createAssembly not to break CI * add one more reference.conf entry to tests
* Improve Intellij Idea support (#351)Olivier Mélois2018-05-304-27/+90
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve Intellij Idea support Improves the Intellij Idea support in various ways : * Cherrypicks the idea conf that needs deleting rather than deleting the whole .idea directory. That directory contains elements of configuration like VCS reference that were annoying to set again every time mill regenerated idea config. * Attempts to retrieve libraries that the build depends on by inspecting the classloader of the top module * Attempts at grouping jars and sources together in order to have both in the same idea files, which appears to give better jump to definition * Hacks the library names for the libraries the build depends on, in order to match Intellij's ammonite support and not show red to the user about the library that has successfuly been resolved. Also allows to jump to the library sources from the magic import. * Remove un-necessary filters * Avoid Agg throwing because of duplicated build libraries * Removing hardcoded version from SBT idea module names
* Check for availability of Java compiler. (#353)Daniel Kullmann2018-05-281-0/+5
| | | | Throws an exception with a sensible error message when the Java compiler is not available.
* Add a `visualize` command to render portions of the build graph as SVG (#349)Li Haoyi2018-05-255-200/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Transitive reduction of visualized graph via jgrapht now works ``` out/dev/launcher/dest/run -i visualize __.compile _ out/dev/launcher/dest/run -i visualize core.__ ``` * Move test running logic from scalaworker into scalalib This is to try and reduce the size of the classpath we are passing to the test runner subprocess, in an attempt to fix the command-line-too-long errors we're getting in Appveyor. Now the test runner subprocess should no longer need Zinc or all of it's transitive dependencies * - Break out `GraphvizTools` into a separate Mill module, to avoid bloating the main jar and try to shorten the `MILL_SCALA_WORKER` classpath being sent to scalajslib.test (which is blowing up on windows as the CLI command is too long) - Move the meat of `resolveDependencies` from `scalalib` to `main`, to support resolving mill modules - DRY up resolution of mill modules in `Util.millProjectModule` * fix mill module resolution * Tweaks to try and make zinc work again... * Tweak `Module#reflect` to try and make it happy with `visualize` module... * fix integration test classpath * move visualization into it's own module
* Solves #345 : optional signing (#346)Olivier Mélois2018-05-232-18/+28
| | | | | | | | | | | * Solves 345 : optional signing * Made gpgPassphrase optional for publishing * Added a flag to remove signing of published artifacts altogether * Handle optional value using null as default param better than using empty string as default param.
* Upgrade Ammonite.Robby2018-05-191-1/+1
|
* Fixes #336: pass scalac options to ScalaDoc during docJar stage (#337)Anton Sviridov2018-05-183-3/+36
|
* Add configurable repl options (#333)Sergey Rublev2018-05-181-2/+2
|
* Update ScalaModule.scalaLi Haoyi2018-05-171-1/+1
|
* Update JavaModule.scalaLi Haoyi2018-05-171-1/+1
|
* Fix JavaModuleLi Haoyi2018-05-171-1/+1
|
* Fix JavaModule.scalaLi Haoyi2018-05-171-1/+1
|
* Restrict doc files to *.java/*.scala (#335)Jim Lawson2018-05-172-2/+2
|
* Allow single files in `generatedSources`Li Haoyi2018-05-171-1/+1
|
* fix GenIdeaImpl test modules (#312)Guillaume Galy2018-05-063-5/+12
| | | fix the syntax for the test output and resource folders
* Scalafmt support (#308)Nikolay Tatarinov2018-05-066-0/+241
| | | | | | | | | | | | | | | | | | | | * add scalafmt module, that formats all sources files on every run * scalafmt worker that internally chaches reformatted files * move jvm process call to helper method * use scala 2.12.4 to resolve scalafmt deps; check for config file existence; add quiet flags to scalafmt CLI * make a scalafmt worker a singleton * add tests for scalafmt module * add reformatAll command * tests for reformatAll command * add docs about scalafmt support
* Mark test module as test sources; change sbt module root (#298)Nikolay Tatarinov2018-04-206-7/+40
| | | | | | | | * mark test module as test sources * add test case for test module in GenIdea * fixes #201 change mill project path for sbt and maven tests
* Make builds able to depend on external projects (#291)Olivier Mélois2018-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* don't show subprocess-call stack trace if test result reporting failsLi Haoyi2018-04-171-9/+13
|
* avoid printing useless stacktraces when subprocess runs failLi Haoyi2018-04-172-9/+9
|
* rename modules scalaworker -> scalalib.worker, client -> main.clientLi Haoyi2018-04-123-3/+257
|
* Re-order `gpg` signing flags to make passphrase-passing-in workLi Haoyi2018-04-101-1/+1
| | | | Somehow passing in `--batch` and `--passphrase` must come before the other random bits of alphabet soup
* fix testsLi Haoyi2018-04-101-2/+2
|
* try to fix exclusion pom syntax to make publishing workLi Haoyi2018-04-101-2/+2
|
* fixes #226; use transitiveIvyDeps to print dependency tree (#292)Nikolay Tatarinov2018-04-101-1/+1
|
* caffeine core and guava tests seem to passLi Haoyi2018-04-091-17/+28
|
* Caffeine junit & testng suites seem to passLi Haoyi2018-04-091-2/+2
|
* Get first `caffeine.test` suite running in `CaffeineTests`Li Haoyi2018-04-091-2/+6
|
* First pass at a Caffeine integration build now works (only on Java 9 tho)Li Haoyi2018-04-081-7/+16
|
* Basic failure tests for `JavaModule`Li Haoyi2018-04-081-1/+26
|
* Rename `root` IDEA module to `mill-build` to avoid collisionsLi Haoyi2018-04-084-5/+8
| | | | Fixes https://github.com/lihaoyi/mill/issues/279
* Properly support test frameworks which spawn child tasksLi Haoyi2018-04-084-4/+65
| | | | Needed to fix https://github.com/lihaoyi/mill/issues/286
* bump zinc versionLi Haoyi2018-04-081-1/+1
|
* Enable JUnit testing, via sbt-test-interface, for `JavaModule`sLi Haoyi2018-04-0810-86/+265
|
* bump test case to 2.12.4 for java9 compatLi Haoyi2018-04-081-1/+1
|
* Fix #282 by passing plugins as arguments to scaladocjulianmichael2018-04-083-1/+39
| | | | Plus a couple tests to sanity check.
* mergeLi Haoyi2018-04-071-1/+4
|\
| * make sure to extract paths from JavaModule#compileClasspath before passing ↵Li Haoyi2018-04-071-1/+4
| | | | | | | | them to subprocess
* | remove clientserver from ci since those tests are now in mainLi Haoyi2018-04-071-1/+1
| |
* | update travis mill versionLi Haoyi2018-04-072-4/+4
| |
* | migrate client module onto new JavaModule traitLi Haoyi2018-04-074-7/+28
|/
* avoid recursionLi Haoyi2018-04-074-10/+12
|
* clean up JavaModule/ScalaModule interactions and consolidate extensions into ↵Li Haoyi2018-04-078-66/+62
| | | | new resolveFooDependency methods
* First unit tests for `JavaModule`Li Haoyi2018-04-077-48/+181
|
* First pass splitting `JavaModule` out of `ScalaModule`Li Haoyi2018-04-074-214/+300
|
* Sync Ammonite in ScalaModule (with build.sc).Robby2018-04-071-1/+1
|
* Merge branch 'master' into restore-masterRobby2018-04-076-62/+134
|\ | | | | | | | | | | # Conflicts: # .travis.yml # scalalib/src/mill/scalalib/Dep.scala
| * basic support for version pinning (used by default for ↵Li Haoyi2018-04-065-55/+126
| | | | | | | | scala-library/compiler) and for typelevel scala