From 66b20410dfea21fbf13cd681d7868658722d031f Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Sun, 28 Feb 2016 17:30:03 +0100 Subject: [PATCH] Mention sandboxing in the FAQ Fixes https://github.com/alexarchambault/coursier/issues/160 --- README.md | 11 +++++++++++ doc/README.md | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index 07c5fe412..895a80795 100644 --- a/README.md +++ b/README.md @@ -618,6 +618,17 @@ Download it from the same link as the command above. Then run from a console, in ``` The `-noverify` option seems to be required after the proguarding step of the main JAR of coursier. +#### How to enable sandboxing? + +Set the `COURSIER_CACHE` prior to running `coursier` or SBT, like +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache coursier +``` +or +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache sbt +``` + ## Development tips #### Working on the plugin module in an IDE diff --git a/doc/README.md b/doc/README.md index 75d594d95..0e3d04a1b 100644 --- a/doc/README.md +++ b/doc/README.md @@ -642,6 +642,17 @@ Download it from the same link as the command above. Then run from a console, in ``` The `-noverify` option seems to be required after the proguarding step of the main JAR of coursier. +#### How to enable sandboxing? + +Set the `COURSIER_CACHE` prior to running `coursier` or SBT, like +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache coursier +``` +or +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache sbt +``` + ## Development tips #### Working on the plugin module in an IDE