-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ember-cli-rails to heroku buildpack
- Loading branch information
1 parent
1731d31
commit 2e64fb5
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
bower="$(pwd)/node_modules/.bin/bower" | ||
|
||
for app in "frontend"; do | ||
cd $app && | ||
npm install && | ||
$bower install && | ||
cd - | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"scripts": { | ||
"postinstall": "./bin/heroku_install" | ||
}, | ||
"devDependencies": { | ||
"bower": "*" | ||
}, | ||
"cacheDirectories": [ | ||
"frontend/node_modules", | ||
"frontend/bower_components", | ||
"node_modules" | ||
] | ||
} |