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
08bdd2aa
Commit
08bdd2aa
authored
Sep 16, 2011
by
David Dollar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pushd again
parent
c54cc275
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
package_npm
support/package_npm
+13
-13
No files found.
support/package_npm
View file @
08bdd2aa
...
...
@@ -15,21 +15,21 @@ basedir="$( cd -P "$( dirname "$0" )" && pwd )"
tempdir
=
"
$(
mktemp
-t
node_XXXX
)
"
rm
-rf
$tempdir
mkdir
-p
$tempdir
cd
$tempdir
cd
$tempdir
&&
# download npm
git clone https://github.com/isaacs/npm.git
# download npm
git clone https://github.com/isaacs/npm.git
&&
# go into npm dir
pushd
npm
cd
npm
&&
# grab the right version
git checkout v
${
npm_version
}
git submodule update
--init
--recursive
# grab the right version
git checkout v
${
npm_version
}
&&
git submodule update
--init
--recursive
&&
# package it up
tar
czvf
$tempdir
/npm-
${
npm_version
}
.tgz
*
# package it up
tar
czvf
$tempdir
/npm-
${
npm_version
}
.tgz
*
&&
# upload npm to s3
$basedir
/s3 put language-pack-nodejs
\
npm-
${
npm_version
}
.tgz
$tempdir
/npm-
${
npm_version
}
.tgz
# upload npm to s3
$basedir
/s3/s3 put language-pack-nodejs
\
npm-
${
npm_version
}
.tgz
$tempdir
/npm-
${
npm_version
}
.tgz
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