aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/Rakefile')
-rw-r--r--actionview/Rakefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/actionview/Rakefile b/actionview/Rakefile
index 7a66119488..48f17062ce 100644
--- a/actionview/Rakefile
+++ b/actionview/Rakefile
@@ -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"]