Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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-nodejs
Commits
3e07c5c0
Commit
3e07c5c0
authored
Nov 06, 2013
by
Zeke Sikelianos
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #59 from heroku/clear-node-gyp-cache
clear caches before slug compilation
parents
3b70e063
c4c8d19d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
compile
bin/compile
+4
-0
No files found.
bin/compile
View file @
3e07c5c0
...
@@ -84,6 +84,10 @@ rm -rf $cache_dir
...
@@ -84,6 +84,10 @@ rm -rf $cache_dir
mkdir
-p
$cache_dir
mkdir
-p
$cache_dir
test
-d
$build_dir
/node_modules
&&
cp
-r
$build_dir
/node_modules
$cache_dir
/
test
-d
$build_dir
/node_modules
&&
cp
-r
$build_dir
/node_modules
$cache_dir
/
status
"Cleaning up node-gyp and npm artifacts"
rm
-rf
"
$build_dir
/.node-gyp"
rm
-rf
"
$build_dir
/.npm"
# Update the PATH
# Update the PATH
status
"Building runtime environment"
status
"Building runtime environment"
mkdir
-p
$build_dir
/.profile.d
mkdir
-p
$build_dir
/.profile.d
...
...
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