Module: Warbler
- Defined in:
- lib/warbler.rb,
lib/warbler/war.rb,
lib/warbler/gems.rb,
lib/warbler/task.rb,
lib/warbler/config.rb,
lib/warbler/runtime.rb,
lib/warbler/version.rb
Overview
– Copyright © 2010 Engine Yard, Inc. Copyright © 2007-2009 Sun Microsystems, Inc. This source code is available under the MIT license. See the file LICENSE.txt for details. ++
Defined Under Namespace
Modules: Runtime Classes: Application, Config, Gems, Task, War, WebxmlOpenStruct
Constant Summary collapse
- WARBLER_HOME =
File.(File.dirname(__FILE__) + '/..')
- VERSION =
"1.1.0"
Class Attribute Summary collapse
-
.application ⇒ Object
An instance of Warbler::Application used by the
warble
command. -
.framework_detection ⇒ Object
Set Warbler.framework_detection to false to disable auto-detection based on application configuration.
-
.project_application ⇒ Object
Warbler loads the project Rakefile in a separate Rake application from the one where the Warbler tasks are run.
Class Attribute Details
.application ⇒ Object
An instance of Warbler::Application used by the warble
command.
15 16 17 |
# File 'lib/warbler.rb', line 15 def application @application end |
.framework_detection ⇒ Object
Set Warbler.framework_detection to false to disable auto-detection based on application configuration.
18 19 20 |
# File 'lib/warbler.rb', line 18 def framework_detection @framework_detection end |
.project_application ⇒ Object
Warbler loads the project Rakefile in a separate Rake application from the one where the Warbler tasks are run.
24 25 26 27 |
# File 'lib/warbler.rb', line 24 def self.project_application application.load_project_rakefile if application @project_application || Rake.application end |