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