only load the rake dsl in if it's possible
This commit is contained in:
parent
6f85d3d1e8
commit
96352d21a0
@ -1,7 +1,11 @@
|
|||||||
module Jasmine
|
module Jasmine
|
||||||
module Headless
|
module Headless
|
||||||
class Task
|
class Task
|
||||||
|
begin
|
||||||
include Rake::DSL
|
include Rake::DSL
|
||||||
|
rescue NameError
|
||||||
|
# never mind
|
||||||
|
end
|
||||||
|
|
||||||
attr_accessor :colors, :keep_on_error, :jasmine_config
|
attr_accessor :colors, :keep_on_error, :jasmine_config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user