diff --git a/bin/compile b/bin/compile index f88d551..98cf3f9 100755 --- a/bin/compile +++ b/bin/compile @@ -12,7 +12,7 @@ CACHE_DIR=$2 if [ "$(grep ":min-lein-version \"2" $1/project.clj)" != "" ]; then LEIN_VERSION="2.0.0-preview10" LEIN_BIN_SOURCE="$(dirname $0)/../opt/lein2" - LEIN_BUILD_TASK=${LEIN_BUILD_TASK:-"with-profile production do compile :all, clean-m2"} + LEIN_BUILD_TASK=${LEIN_BUILD_TASK:-"with-profile production compile :all"} else LEIN_VERSION="1.7.1" LEIN_BIN_SOURCE="$(dirname $0)/../opt/lein1" @@ -119,6 +119,3 @@ cp -r $CACHE_TARGET_DIR $CACHE_STORE_DIR if [ "$LEIN_VERSION" = "1.7.1" ]; then rm -rf $CACHE_TARGET_DIR fi - - -# TODO: cache clearing in 1.x diff --git a/opt/profiles.clj b/opt/profiles.clj index 02dbfdd..7052c6c 100644 --- a/opt/profiles.clj +++ b/opt/profiles.clj @@ -1,5 +1,4 @@ -{:user {:plugins [[lein-clean-m2 "0.1.2"]] - :mirrors {#"central|clojars" +{:user {:mirrors {#"central|clojars" "http://s3pository.herokuapp.com/clojure"}} :production {:mirrors {#"central|clojars" "http://s3pository.herokuapp.com/clojure"}}} \ No newline at end of file