-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.rb
More file actions
18 lines (16 loc) · 782 Bytes
/
install.rb
File metadata and controls
18 lines (16 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#Based on the install.rb of Streamlined
require 'rake'
begin
puts "======================================================================"
puts "Attempting to copy BrowserWar required files into your application..."
puts "======================================================================"
RAKE_FILE = File.join(File.dirname(__FILE__), '/tasks/browser_war_tasks.rake')
load RAKE_FILE
Rake::Task['browser_war:install_files'].invoke
puts "======================================================================"
puts "Success!"
puts "======================================================================"
rescue Exception => ex
puts "FAILED TO COPY FILES DURING BROWSERWAR INSTALL. PLEASE RUN rake browser_war:install_files."
puts "EXCEPTION: #{ex}"
end