multi-buildpack setup for heroku:
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git will set it up
This commit is contained in:
parent
3b24165fd0
commit
b9247d2692
2 changed files with 9 additions and 0 deletions
|
@ -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