Merge pull request #594 from metamaps/feature/fix-heroku

multi-buildpack setup for heroku:
This commit is contained in:
Devin Howard 2016-08-09 20:35:06 +08:00 committed by GitHub
commit 4478ca43b8
2 changed files with 9 additions and 0 deletions

View file

@ -1 +1,2 @@
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-ruby.git

View file

@ -0,0 +1,8 @@
namespace :assets do
task :js_compile do
system "npm install"
system "npm run build"
end
end
Rake::Task[:'assets:precompile'].enhance([:'assets:js_compile'])