Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
42594a47
Commit
42594a47
authored
May 06, 2015
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "remove old anvil cruft"
This reverts commit
0a78bd00
.
parent
9d20adca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
compile
bin/compile
+28
-0
No files found.
bin/compile
View file @
42594a47
...
...
@@ -66,6 +66,21 @@ source $BIN_DIR/utils
APP_DIR
=
'/app'
TMP_APP_DIR
=
$CACHE_DIR
/tmp_app_dir
# Copy Anvil app dir to temporary storage...
bpwatch start anvil_appdir_stage
if
[
"
$SLUG_ID
"
]
;
then
mkdir
-p
$TMP_APP_DIR
deep-mv
$APP_DIR
$TMP_APP_DIR
else
deep-rm
$APP_DIR
fi
bpwatch stop anvil_appdir_stage
# Copy Application code in.
bpwatch start appdir_stage
deep-mv
$BUILD_DIR
$APP_DIR
bpwatch stop appdir_stage
# Set new context.
BUILD_DIR
=
$APP_DIR
...
...
@@ -188,3 +203,16 @@ bpwatch start dump_cache
cp
-R
$dir
$CACHE_DIR
/
done
bpwatch stop dump_cache
# ### Fin.
bpwatch start appdir_commit
deep-mv
$BUILD_DIR
$ORIG_BUILD_DIR
bpwatch stop appdir_commit
bpwatch start anvil_appdir_commit
if
[
"
$SLUG_ID
"
]
;
then
deep-mv
$TMP_APP_DIR
$APP_DIR
fi
bpwatch stop anvil_appdir_commit
bpwatch stop compile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment