Skip to content

Commit d5b5605

Browse files
committed
🌱
0 parents  commit d5b5605

File tree

5 files changed

+44
-0
lines changed

5 files changed

+44
-0
lines changed

LICENSE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The MIT License (MIT)
2+
Copyright (c) 2016 Mars Hall
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5+
6+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7+
8+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Inner layer of Heroku Buildpack for create-react-app
2+
====================================================
3+
4+
See: [create-react-app-buildpack](https://github.com/mars/create-react-app-buildpack)

bin/compile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
# bin/compile <build-dir> <cache-dir>
3+
4+
# Fail immediately on non-zero exit code.
5+
set -e
6+
# Fail immediately on non-zero exit code within a pipeline.
7+
set -o pipefail
8+
# Fail on undeclared variables.
9+
set -u
10+
# Debug, echo every command
11+
set -x
12+
13+
# Set the web root to the build/ directory
14+
echo '{ "root": "build/" }' > static.json
15+
16+
# Build the javascript bundle
17+
npm run build

bin/detect

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
# bin/detect <build-dir>
3+
4+
if [ -f $1/package.json ]; then
5+
echo "React.js (create-react-app)" && exit 0
6+
else
7+
echo "no" && exit 1
8+
fi

bin/release

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
cat << EOF
4+
---
5+
addons:
6+
default_process_types:
7+
EOF

0 commit comments

Comments
 (0)