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
889b777e
Commit
889b777e
authored
Mar 24, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugs
parent
8d4626ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
compile
bin/compile
+11
-3
No files found.
bin/compile
View file @
889b777e
...
@@ -99,6 +99,9 @@ fi
...
@@ -99,6 +99,9 @@ fi
# ### The Cache
# ### The Cache
mkdir
-p
$CACHE_DIR
mkdir
-p
$CACHE_DIR
# Create set-aside `.heroku` folder.
mkdir
-p
.heroku
# Nice defaults.
# Nice defaults.
LEGACY_VIRTUALENV
=
false
LEGACY_VIRTUALENV
=
false
VIRTUALENV_LOC
=
$MODERN_VIRTUALENV_LOC
VIRTUALENV_LOC
=
$MODERN_VIRTUALENV_LOC
...
@@ -124,7 +127,10 @@ fi
...
@@ -124,7 +127,10 @@ fi
# Restore old artifacts from the cache.
# Restore old artifacts from the cache.
for
dir
in
$CACHED_DIRS
;
do
for
dir
in
$CACHED_DIRS
;
do
echo
"copying
$dir
..."
echo
"copying
$dir
..."
echo
"
$
ls
$CACHED_DIR
/
$dir
"
ls
$CACHED_DIR
/
$dir
cp
-R
$CACHED_DIR
/
$dir
.
&> /dev/null
||
true
cp
-R
$CACHED_DIR
/
$dir
.
&> /dev/null
||
true
ls
$dir
done
done
...
@@ -153,9 +159,6 @@ echo "$OUT" | indent
...
@@ -153,9 +159,6 @@ echo "$OUT" | indent
set
-e
set
-e
# Create set-aside `.heroku` folder.
mkdir
-p
.heroku
# Pylibmc support.
# Pylibmc support.
# See [`bin/steps/pylibmc`](pylibmc.html).
# See [`bin/steps/pylibmc`](pylibmc.html).
source
$BIN_DIR
/steps/pylibmc
source
$BIN_DIR
/steps/pylibmc
...
@@ -198,8 +201,13 @@ set -e
...
@@ -198,8 +201,13 @@ set -e
# Store new artifacts in cache.
# Store new artifacts in cache.
for
dir
in
$CACHED_DIRS
;
do
for
dir
in
$CACHED_DIRS
;
do
echo
"copying
$dir
..."
echo
"copying
$dir
..."
echo
"
$
ls
$CACHED_DIR
/
$dir
"
ls
$CACHED_DIR
/
$dir
rm
-rf
$CACHE_DIR
/
$dir
rm
-rf
$CACHE_DIR
/
$dir
ls
$dir
cp
-R
$dir
$CACHE_DIR
/
cp
-R
$dir
$CACHE_DIR
/
ls
$CACHE_DIR
/
done
done
# ### Fin.
# ### Fin.
\ No newline at end of file
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