forked from anhnk/SupportBee-Apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
29 lines (25 loc) · 752 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
task :default => :help
desc "Run IRB console with app environment"
task :console do
puts "Loading development console..."
system("irb -r ./config/load.rb")
end
desc "Build SB.Apps javascript file"
task :build_js do
puts "Building sb.apps.js..."
require './config/load'
SupportBeeApp::Build.build_js
end
desc "Move app image assets to public folder"
task :move_assets do
puts "Moving app image assets to public folder..."
require './config/load'
SupportBeeApp::Build.move_assets
end
desc "Show help menu"
task :help do
puts "Available rake tasks: "
puts "rake console - Run a IRB console with all enviroment loaded"
puts "rake spec - Run specs and calculate coverage"
puts "rake build_js - Build SB.Apps javascript file"
end