Skip to content

Commit

Permalink
Quit running clean-m2.
Browse files Browse the repository at this point in the history
This was resulting in resolving plugins at dyno launch time.
  • Loading branch information
technomancy committed Aug 27, 2012
1 parent 16e6245 commit e1c41a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions bin/compile
Expand Up @@ -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"
Expand Down Expand Up @@ -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
3 changes: 1 addition & 2 deletions 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"}}}

0 comments on commit e1c41a2

Please sign in to comment.