aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/Rakefile')
-rw-r--r--actionview/Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/Rakefile b/actionview/Rakefile
index 6c3fc59b0a..7a66119488 100644
--- a/actionview/Rakefile
+++ b/actionview/Rakefile
@@ -46,6 +46,13 @@ namespace :test do
end
end
+namespace :ujs do
+ desc "Starts the test server"
+ task :server do
+ system 'bundle exec rackup test/ujs/config.ru -p 4567 -s puma'
+ end
+end
+
task :lines do
load File.expand_path("..", File.dirname(__FILE__)) + "/tools/line_statistics"
files = FileList["lib/**/*.rb"]