Commit Graph

1369 Commits

Author SHA1 Message Date
Olivier Deckers ebb7e66a26 Implemented clean task + added integration test. Fixes #685 2017-11-03 15:21:39 +01:00
Alexandre Archambault 86de793517 Typo 2017-11-03 01:19:45 +01:00
Alexandre Archambault 0ca0862508 Update development cookbook 2017-11-02 16:21:00 +01:00
Alexandre Archambault eac0c2ce45
Merge pull request #683 from coursier/topic/tweak-appveyor-config
Cache less things on Windows CI
2017-11-01 23:37:52 +01:00
Alexandre Archambault 5351d572fa Cache less things on Windows CI
These don't speed up things much, and seem to get corrupted from time to
time.
2017-11-01 21:35:13 +01:00
Alexandre Archambault 6e24d6036f
Merge pull request #630 from coursier/topic/bump-scala-2.12
Switch to scala 2.12.4
2017-11-01 17:22:55 +01:00
Alexandre Archambault c8815118de Work around spurious issue during tut command in 2.12 2017-11-01 16:20:47 +01:00
Alexandre Archambault 7ac3038d2e Switch to scala 2.12.4 2017-11-01 16:20:47 +01:00
Alexandre Archambault affc902de4 Mention submodules in DEVELOPMENT document 2017-10-31 23:44:36 +01:00
Alexandre Archambault dbd229198b Remove cruft from generate-launcher script 2017-10-31 23:27:26 +01:00
Alexandre Archambault 5a827a6340 Remove deprecated script 2017-10-31 23:10:17 +01:00
Alexandre Archambault 2d8d11f4f1 Add release notes for 1.0.0-RC12 and 1.0.0-RC13 2017-10-31 23:05:45 +01:00
Alexandre Archambault 46ff6b12fd Setting version to 1.0.0-SNAPSHOT 2017-10-29 15:09:55 +01:00
Alexandre Archambault a10b4ad0b0
Updates for 1.0.0-RC13 2017-10-29 15:08:20 +01:00
Alexandre Archambault 82b10e81da Setting version to 1.0.0-RC13 2017-10-29 14:33:13 +01:00
Alexandre Archambault caa935c956 Setting version to 1.0.0-SNAPSHOT 2017-10-28 13:36:35 +02:00
Alexandre Archambault 5377ce71df
Updates for 1.0.0-RC12-1 2017-10-28 13:33:10 +02:00
Alexandre Archambault 1c9fbaa999 Setting version to 1.0.0-RC12-1 2017-10-28 13:05:47 +02:00
Alexandre Archambault e1a8e0fabe
Merge pull request #679 from coursier/develop
Tweaking
2017-10-28 11:05:04 +02:00
Alexandre Archambault 50277d91f3 Clean-up 2017-10-27 17:19:44 +02:00
Alexandre Archambault 07ad16da71 Tweak v1 component handling in cache path
Up to coursier 1.0.0-RC12, setting COURSIER_CACHE=foo makes files land
in e.g. foo/https/repo1.maven.org/….
https://github.com/coursier/coursier/pull/676 changed that to foo/v1/https/….
This commit reverts things back to what they were before that.

In the long term, it would be better to keep the v1 component there, but
I'd prefer not to change that behavior right now.
2017-10-27 17:19:44 +02:00
Alexandre Archambault d27c0ee46e Quick hack to make publishSigned work again with sbt 1.0.2
Ideally, the scripted tests should still be run with sbt 1.0.1 too, to
ensure there are no regression with it, but the current setup doesn't
make that easy.
2017-10-27 17:19:34 +02:00
soc 1871610751 Introduce support for OS-specific standard cache directories (#676)
This cleans up the home directories of users and helps making sure that
Coursier's cache is not accidentically backed up by applications or OS
functionality.

The precedence is as follows:

- existing $COURSIER_CACHE environment variable
- existing coursier.cache Java property
- existing operating system specific standards:
  - Linux:   $XDG_CACHE_HOME/coursier, with fallback to ~/.cache/coursier
  - Windows: {SpecialFolder.LocalApplicationData}/cache/Coursier
  - macOS:   $HOME/Library/Caches/Coursier
- existing ~/.coursier/
- fallback to operating system specific standard directory else.

See discussion in https://github.com/coursier/coursier/pull/676#issuecomment-338974822
2017-10-27 14:35:01 +02:00
Alexandre Archambault e2f47b0f43 Merge pull request #678 from coursier/topic/java-9
Bump asm version (for shading)
2017-10-26 17:41:46 +02:00
Alexandre Archambault afae0cd7f1 Bump asm version (used by shading)
Seems to fix java.lang.IncompatibleClassChangeError errors when using
shaded code. Release of coursier using the next one for shading should
be fine with Java 9 thanks to that.
2017-10-26 16:07:54 +02:00
Alexandre Archambault a151999016 Merge pull request #677 from coursier/develop
Minor tweaks
2017-10-26 14:26:22 +02:00
Alexandre Archambault 34cce59b65 Minor tweaks 2017-10-26 01:36:55 +02:00
Alexandre Archambault e8214a3229 Add csbt README file 2017-10-24 14:53:48 +02:00
Alexandre Archambault 3e270c9fb2 Add new DEVELOPMENT.md file
Consisting mainly of a cookbook of sbt commands to be used during development.
2017-10-24 14:39:30 +02:00
Alexandre Archambault 3636c58d07 Workaround issue with JAR list in pack directories
With just `sbt cli/pack`, it seems that the JARs of the other projects also
land in the pack directory. A `sbt "project cli" pack` works fine
though.
2017-10-21 02:50:08 +02:00
Alexandre Archambault 5f5b127563 Bump dependencies 2017-10-21 02:30:51 +02:00
Alexandre Archambault ce2a01af40 Bump plugins 2017-10-21 01:53:25 +02:00
Alexandre Archambault 5645f8fe6d Remove scoverage
It was unused for now, it may be added back later
2017-10-20 02:48:11 +02:00
Yi Cheng 07e985bffc Fix cli print out completeness and cyclic handling issue (#671)
* simplify

* doc

* rename

* char

* more tests

* add tests then fix bugs

* Small tweak to avoid quadratic calculation
2017-10-20 00:54:58 +02:00
Greg Dorrell 3d47b63d21 Update homebrew installation command (#672)
* Update homebrew installation command

The command to install via homebrew didn't work for me. Presumably this changed in a recent version of homebrew.

This is the error I received:
```
$ brew install coursier/formulas/coursier

Error: coursier/formulas/coursier is a head-only formula
Install with `brew install --HEAD coursier/formulas/coursier`
```

So this change just incorporates the fix it suggests, which works for me.

* Fix other brew command, and report things to doc/README.md
2017-10-17 12:52:37 +02:00
Alexandre Archambault 9b018f6dbc Merge pull request #664 from coursier/develop
Remove scripted workaround
2017-09-23 18:53:29 +02:00
Alexandre Archambault ccd102e2ec Remove scripted workaround
Shouldn't be required anymore since
09c5ce417a
2017-09-23 18:00:38 +02:00
Alexandre Archambault b7c7d5f9e6 Merge pull request #660 from coursier/topic/foo
Minor things
2017-09-22 16:20:53 +02:00
Alexandre Archambault 24fa04d814 Update scala-native setup on Travis CI 2017-09-20 16:58:41 +02:00
Alexandre Archambault 2c4c3aa3d3 Fix README updating in release process 2017-09-20 16:57:31 +02:00
Alexandre Archambault b5a4a7ab01 Update version in README
Next commit fixes the release process for it to handle that
2017-09-20 16:56:33 +02:00
Alexandre Archambault 1252f2b8d5 Use new helper to get coursier version 2017-09-20 16:55:15 +02:00
Alexandre Archambault 9a35ff416a Setting version to 1.0.0-SNAPSHOT 2017-09-20 16:43:17 +02:00
Alexandre Archambault 799619de6e
Updates for 1.0.0-RC12 2017-09-20 15:13:49 +02:00
Alexandre Archambault c2e7bf8ad5 Setting version to 1.0.0-RC12 2017-09-20 14:47:29 +02:00
Alexandre Archambault 0b5b2f25f2 Merge pull request #658 from coursier/topic/cross-version-patch
Fix MatchError when using cross version patch with sbt 1.0
2017-09-20 02:00:19 +02:00
Alexandre Archambault b25fed1ae5 Fix flaky test 2017-09-20 00:12:21 +02:00
Alexandre Archambault 09c5ce417a Quick hack
This ensures something sometimes random is not in some conditions, see https://github.com/coursier/coursier/issues/650
2017-09-20 00:12:20 +02:00
Alexandre Archambault d077a82341 Fix MatchError when using cross version patch with sbt 1.0 2017-09-19 23:23:32 +02:00
Ionuț G. Stan ce1ebc0124 Use latest version in README.md examples 2017-09-11 17:11:25 +02:00