Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
889b777e
Commit
889b777e
authored
13 years ago
by
Kenneth Reitz
Browse files
Options
Downloads
Patches
Plain Diff
debugs
parent
8d4626ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/compile
+11
-3
11 additions, 3 deletions
bin/compile
with
11 additions
and
3 deletions
bin/compile
+
11
−
3
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment