Permalink
Browse files

Merge pull request #27182 from maclover7/jm-actionview-build

Add asset compilation Rake task for UJS
  • Loading branch information...
guilleiguaran committed Nov 26, 2016
2 parents 0256880 + 61de442 commit ebdf87a0bd6efc2f441a39517625af1a4d921496
Showing with 9 additions and 1 deletion.
  1. +9 −1 actionview/Rakefile
View
@@ -3,7 +3,7 @@ require "rake/testtask"
desc "Default Task"
task default: :test
task :package
task package: "assets:compile"
# Run the unit tests
@@ -53,6 +53,14 @@ namespace :ujs do
end
end
namespace :assets do
desc "Compile Action View assets"
task :compile do
require "blade"
Blade.build
end
end
task :lines do
load File.expand_path("..", File.dirname(__FILE__)) + "/tools/line_statistics"
files = FileList["lib/**/*.rb"]

0 comments on commit ebdf87a

Please sign in to comment.