metamaps--metamaps/lib/tasks/extensions.rake
2016-08-09 13:49:38 +08:00

8 lines
171 B
Ruby

namespace :assets do
task :js_compile do
system "npm install"
system "npm run build"
end
end
Rake::Task[:'assets:precompile'].enhance([:'assets:js_compile'])