Skip to content
Snippets Groups Projects
Commit 35ceaf72 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

Merge pull request #90 from buildingenergy/master

Store changes made in post_compile in the cache.
parents 825c9329 5c9412fc
No related branches found
No related tags found
No related merge requests found
...@@ -169,12 +169,6 @@ source $BIN_DIR/steps/collectstatic ...@@ -169,12 +169,6 @@ source $BIN_DIR/steps/collectstatic
# ### Finalize # ### Finalize
# #
# Store new artifacts in cache.
for dir in $CACHED_DIRS; do
rm -rf $CACHE_DIR/$dir
cp -R $dir $CACHE_DIR/
done
# Set context environment variables. # Set context environment variables.
set-env PATH '$HOME/.heroku/python/bin:$PATH' set-env PATH '$HOME/.heroku/python/bin:$PATH'
set-env PYTHONUNBUFFERED true set-env PYTHONUNBUFFERED true
...@@ -189,6 +183,12 @@ set-default-env PYTHONPATH /app/ ...@@ -189,6 +183,12 @@ set-default-env PYTHONPATH /app/
# Experimental post_compile hook. # Experimental post_compile hook.
source $BIN_DIR/steps/hooks/post_compile source $BIN_DIR/steps/hooks/post_compile
# Store new artifacts in cache.
for dir in $CACHED_DIRS; do
rm -rf $CACHE_DIR/$dir
cp -R $dir $CACHE_DIR/
done
# ### Fin. # ### Fin.
deep-mv $BUILD_DIR $ORIG_BUILD_DIR deep-mv $BUILD_DIR $ORIG_BUILD_DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment