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

update to caching mechanism pt 2

parent 05edd6b0
No related branches found
No related tags found
No related merge requests found
......@@ -215,8 +215,18 @@ bpwatch stop post_compile
# Store new artifacts in cache.
bpwatch start dump_cache
rm -rf $CACHE_DIR/$CACHED_DIR
cp -R $CACHED_DIR $CACHE_DIR/
rm -rf $CACHE_DIR/.heroku/python
rm -rf $CACHE_DIR/.heroku/python-version
rm -rf $CACHE_DIR/.heroku/python-stack
rm -rf $CACHE_DIR/.heroku/vendor
rm -rf $CACHE_DIR/.heroku/venv
mkdir -p $CACHE_DIR/.heroku
cp -R .heroku/python $CACHE_DIR/.heroku
cp -R .heroku/python-version $CACHE_DIR/.heroku
cp -R .heroku/python-stack $CACHE_DIR/.heroku
cp -R .heroku/vendor $CACHE_DIR/.heroku &> /dev/null || true
cp -R .heroku/venv $CACHE_DIR/.heroku &> /dev/null || true
bpwatch stop dump_cache
......
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