metamaps--metamaps/lib/tasks/extensions.rake
2016-09-24 11:00:46 +08:00

9 lines
201 B
Ruby

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