Merge pull request #594 from metamaps/feature/fix-heroku
multi-buildpack setup for heroku:
This commit is contained in:
commit
4478ca43b8
|
@ -1 +1,2 @@
|
||||||
|
https://github.com/heroku/heroku-buildpack-nodejs.git
|
||||||
https://github.com/heroku/heroku-buildpack-ruby.git
|
https://github.com/heroku/heroku-buildpack-ruby.git
|
||||||
|
|
8
lib/tasks/extensions.rake
Normal file
8
lib/tasks/extensions.rake
Normal 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'])
|
Loading…
Reference in a new issue