Commit Graph

4 Commits

Author SHA1 Message Date
Alexandre Archambault 96ae126866 Use handmade metadata from separate repo 2018-10-01 16:55:27 +02:00
Alexandre Archambault 3e05d920a4 Keep only sbt plugins 2018-09-28 18:23:43 +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 e2506b2af9 Get metadata during the tests via specific submodule
Rather than fetching those from actual repos
2017-06-09 15:29:26 +02:00