-
Notifications
You must be signed in to change notification settings - Fork 188
Cache Leiningen and Boot dependencies #117
Conversation
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!) |
Please let me know if you want any changes to this, to get it merged :) |
There was a problem hiding this 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!
run-build-functions.sh
Outdated
then | ||
mkdir -p $NETLIFY_CACHE_DIR/m2 | ||
ln -nfs $NETLIFY_CACHE_DIR/m2 ~/.m2 | ||
if [ -d $NETLIFY_CACHE_DIR/.m2 ]; |
There was a problem hiding this comment.
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.
run-build-functions.sh
Outdated
then | ||
mkdir -p $NETLIFY_CACHE_DIR/m2 | ||
ln -nfs $NETLIFY_CACHE_DIR/m2 ~/.m2 | ||
if [ -d $NETLIFY_CACHE_DIR/.m2 ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove semicolon
run-build-functions.sh
Outdated
rm -rf $NETLIFY_BUILD_BASE/.m2 | ||
mv $NETLIFY_CACHE_DIR/.m2 $NETLIFY_BUILD_BASE/.m2 | ||
fi | ||
if [ -d $NETLIFY_CACHE_DIR/.boot ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove semicolon
@adamrenklint This won't go out until Monday most likely. I'll be sure to ping you when it does. |
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.