forked from activeadmin/activeadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
33 lines (26 loc) · 628 Bytes
/
Rakefile
File metadata and controls
33 lines (26 loc) · 628 Bytes
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
30
31
32
33
require 'bundler'
require 'rake'
Bundler.setup
Bundler::GemHelper.install_tasks
def cmd(command)
puts command
fail unless system command
end
require File.expand_path('../spec/support/detect_rails_version', __FILE__)
# Import all our rake tasks
FileList['tasks/**/*.rake'].each { |task| import task }
task default: :test
begin
require 'jasmine'
load 'jasmine/tasks/jasmine.rake'
rescue LoadError
task :jasmine do
abort 'Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine'
end
end
task :console do
require 'irb'
require 'irb/completion'
ARGV.clear
IRB.start
end