Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Conversation

adamrenklint
Copy link
Contributor

This PR introduces caching of Leiningen and Boot dependencies, i.e. ~/.m2 and ~/.boot, making Netlify a great tool to build static sites and SPAs with Clojure and ClojureScript.

@rybit
Copy link
Member

rybit commented Dec 21, 2017

Sorry for the delay on this! We will take a chance to review this soon, but the holidays are just a bit slow (everyone is off!)

@adamrenklint
Copy link
Contributor Author

Please let me know if you want any changes to this, to get it merged :)

Copy link
Contributor

@brycekahle brycekahle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some very minor changes needed, but overall looks good!

then
mkdir -p $NETLIFY_CACHE_DIR/m2
ln -nfs $NETLIFY_CACHE_DIR/m2 ~/.m2
if [ -d $NETLIFY_CACHE_DIR/.m2 ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the semicolon. It looks like we aren't 100% consistent, but the vast majority do not have semicolons.

then
mkdir -p $NETLIFY_CACHE_DIR/m2
ln -nfs $NETLIFY_CACHE_DIR/m2 ~/.m2
if [ -d $NETLIFY_CACHE_DIR/.m2 ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove semicolon

rm -rf $NETLIFY_BUILD_BASE/.m2
mv $NETLIFY_CACHE_DIR/.m2 $NETLIFY_BUILD_BASE/.m2
fi
if [ -d $NETLIFY_CACHE_DIR/.boot ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove semicolon

@brycekahle
Copy link
Contributor

@adamrenklint This won't go out until Monday most likely. I'll be sure to ping you when it does.

@brycekahle brycekahle merged commit 77afa28 into netlify:master Feb 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants