Commit d5fed79e authored by Kenneth Reitz's avatar Kenneth Reitz

update to caching mechanism pt 2

parent 05edd6b0
...@@ -215,8 +215,18 @@ bpwatch stop post_compile ...@@ -215,8 +215,18 @@ bpwatch stop post_compile
# Store new artifacts in cache. # Store new artifacts in cache.
bpwatch start dump_cache bpwatch start dump_cache
rm -rf $CACHE_DIR/$CACHED_DIR rm -rf $CACHE_DIR/.heroku/python
cp -R $CACHED_DIR $CACHE_DIR/ 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 bpwatch stop dump_cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment