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
f785c74e
Unverified
Commit
f785c74e
authored
Jan 24, 2019
by
Jeremy Morrell
Committed by
GitHub
Jan 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bin/* to shellcheck check (#603)
* Add shellcheck to rest of bin/* scripts
parent
58ed00de
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
detect
bin/detect
+2
-2
test-compile
bin/test-compile
+3
-2
makefile
makefile
+1
-2
No files found.
bin/detect
View file @
f785c74e
...
...
@@ -17,7 +17,7 @@ error() {
exit
1
}
if
[
-f
$1
/package.json
]
;
then
if
[
-f
"
$1
/package.json"
]
;
then
echo
'Node.js'
exit
0
fi
...
...
@@ -59,7 +59,7 @@ If you are trying to deploy a Node.js application, ensure that this
file is present at the top level directory. This directory has the
following files:
$(
ls
-1p
$1
)
$(
ls
-1p
"
$1
"
)
If you are trying to deploy an application written in another
language, you need to change the list of buildpacks set on your
...
...
bin/test-compile
View file @
f785c74e
#!/usr/bin/env bash
BP_DIR
=
$(
cd
"
$(
dirname
${
0
:-})
"
;
cd
..
;
pwd
)
BP_DIR
=
$(
cd
"
$(
dirname
"
${
0
:-}
"
)
"
||
exit
;
cd
..
;
pwd
)
source
$BP_DIR
/lib/environment.sh
# shellcheck source=lib/environment.sh
source
"
$BP_DIR
/lib/environment.sh"
export
NPM_CONFIG_PRODUCTION
=
${
NPM_CONFIG_PRODUCTION
:-
false
}
export
NODE_ENV
=
${
NODE_ENV
:-
test
}
...
...
makefile
View file @
f785c74e
test
:
heroku-18 heroku-16 cedar-14
shellcheck
:
@
shellcheck
-x
bin/compile
@
echo
TODO shellcheck bin/detect bin/release bin/test bin/test-compile
@
shellcheck
-x
bin/compile bin/detect bin/release bin/test bin/test-compile
@
echo
TODO shellcheck
-x
lib/
**
/
*
.sh
@
echo
TODO shellcheck
-x
ci-profile/
**
/
*
.sh
@
echo
TODO shellcheck
-x
etc/
**
/
*
.sh
...
...
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