better fix rake task for new rake dsl
This commit is contained in:
parent
7c37c80a9a
commit
2baed03356
@ -3,11 +3,7 @@ require 'jasmine/headless/runner'
|
|||||||
module Jasmine
|
module Jasmine
|
||||||
module Headless
|
module Headless
|
||||||
class Task
|
class Task
|
||||||
begin
|
include Rake::DSL if defined?(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