make sure a parent module is defined first
This commit is contained in:
parent
ab1994696d
commit
b6d94a5d0d
@ -1,32 +1,34 @@
|
|||||||
require 'pathname'
|
require 'pathname'
|
||||||
|
|
||||||
module Jasmine::Headless
|
module Jasmine
|
||||||
autoload :CommandLine, 'jasmine/headless/command_line'
|
module Headless
|
||||||
|
autoload :CommandLine, 'jasmine/headless/command_line'
|
||||||
|
|
||||||
autoload :CoffeeScriptCache, 'jasmine/headless/coffee_script_cache'
|
autoload :CoffeeScriptCache, 'jasmine/headless/coffee_script_cache'
|
||||||
autoload :SpecFileAnalyzer, 'jasmine/headless/spec_file_analyzer'
|
autoload :SpecFileAnalyzer, 'jasmine/headless/spec_file_analyzer'
|
||||||
autoload :CacheableAction, 'jasmine/headless/cacheable_action'
|
autoload :CacheableAction, 'jasmine/headless/cacheable_action'
|
||||||
autoload :VERSION, 'jasmine/headless/version'
|
autoload :VERSION, 'jasmine/headless/version'
|
||||||
autoload :Runner, 'jasmine/headless/runner'
|
autoload :Runner, 'jasmine/headless/runner'
|
||||||
autoload :Options, 'jasmine/headless/options'
|
autoload :Options, 'jasmine/headless/options'
|
||||||
autoload :Task, 'jasmine/headless/task'
|
autoload :Task, 'jasmine/headless/task'
|
||||||
|
|
||||||
autoload :FilesList, 'jasmine/headless/files_list'
|
autoload :FilesList, 'jasmine/headless/files_list'
|
||||||
autoload :UniqueAssetList, 'jasmine/headless/unique_asset_list'
|
autoload :UniqueAssetList, 'jasmine/headless/unique_asset_list'
|
||||||
|
|
||||||
autoload :TemplateWriter, 'jasmine/headless/template_writer'
|
autoload :TemplateWriter, 'jasmine/headless/template_writer'
|
||||||
|
|
||||||
autoload :CoffeeTemplate, 'jasmine/headless/coffee_template'
|
autoload :CoffeeTemplate, 'jasmine/headless/coffee_template'
|
||||||
autoload :JSTemplate, 'jasmine/headless/js_template'
|
autoload :JSTemplate, 'jasmine/headless/js_template'
|
||||||
autoload :JSTTemplate, 'jasmine/headless/jst_template'
|
autoload :JSTTemplate, 'jasmine/headless/jst_template'
|
||||||
autoload :CSSTemplate, 'jasmine/headless/css_template'
|
autoload :CSSTemplate, 'jasmine/headless/css_template'
|
||||||
|
|
||||||
autoload :Report, 'jasmine/headless/report'
|
autoload :Report, 'jasmine/headless/report'
|
||||||
autoload :ReportMessage, 'jasmine/headless/report_message'
|
autoload :ReportMessage, 'jasmine/headless/report_message'
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def root
|
def root
|
||||||
@root ||= Pathname(File.expand_path('../../..', __FILE__))
|
@root ||= Pathname(File.expand_path('../../..', __FILE__))
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user