Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update with lihaoy #1

Merged
merged 237 commits into from
May 14, 2018
Merged

Update with lihaoy #1

merged 237 commits into from
May 14, 2018

Conversation

ucbjrl
Copy link
Owner

@ucbjrl ucbjrl commented May 14, 2018

No description provided.

rockjam and others added 30 commits February 24, 2018 21:48
* Fix documentation about passing args to test runner

* Update 2 - Configuring Mill.md
…r 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
.
wip
* Added generation of .idea/scala_compiler.xml (Scalac compiler plugins and options).

* More robust evaluation of tasks because results may be empty, which causes a match error.
* 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
…y as necessary.

Now we only create them if a Task asks for `T.ctx().dest` or logs something. The vast majority of tasks just do plumbing and neither log output nor create files in `dest`, and this avoids the unnecessary overhead of creating all those un-used files, folders & stack trace
Also re-organize the test matrix to split out the unit & integration tests into 3 separate builds, and removing the integration tests from the `-dev` and `-mill` jobs. That should speed up the test run while running all tests and ensuring the dev/release assemblies work
* Add predefined licenses from spdx

* Fix License usages
lihaoyi and others added 29 commits April 10, 2018 00:45
Somehow passing in `--batch` and `--passphrase` must come before the other random bits of alphabet soup
Mill unstable releases should be used for bootstrapping.
* 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 #302
* 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
…306)

Otherwise we cannot rely on the exception message because the error returned by the java command line will be localized.
* 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
fix the syntax for the test output and resource folders
Instead of count all commits back to the beginning of time twice, and
then subtracting, just make one call to let git figure it out.
Added s to T.source and fixed small typo
Fixed all T.source to T.sources
@ucbjrl ucbjrl merged commit 12ba2e7 into ucbjrl:master May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.