Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanpedersen committed Sep 13, 2016
0 parents commit 5c6ba90
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# heroku-buildpack-npmrc
13 changes: 13 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

ENV_DIR=${3:-}
npmrc="$(cat $ENV_DIR/NPMRC)"

if [ "$npmrc" != "" ]; then
echo "-----> Using NPMRC"
echo "$ssh_key" > "$HOME/.npmrc"

exit 0
else
echo "-----> No NPMRC"
fi
4 changes: 4 additions & 0 deletions bin/detect
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

echo "heroku-buildpack-npmrc"
exit 0
3 changes: 3 additions & 0 deletions bin/release
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

echo "--- {}"

0 comments on commit 5c6ba90

Please sign in to comment.