metamaps--metamaps/lib/tasks/extensions.rake

10 lines
201 B
Ruby
Raw Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
namespace :assets do
task :js_compile do
2016-09-24 03:00:46 +00:00
system 'npm install'
system 'npm run build'
end
end
Rake::Task[:'assets:precompile'].enhance([:'assets:js_compile'])