Class: Tetra::Ant
- Inherits:
-
Object
- Object
- Tetra::Ant
- Defined in:
- lib/tetra/facades/ant.rb
Overview
encapsulates tetra-specific Ant commandline options
Class Method Summary collapse
-
.commandline(project_path, ant_path) ⇒ Object
returns a command line for running Ant.
Class Method Details
.commandline(project_path, ant_path) ⇒ Object
returns a command line for running Ant
7 8 9 10 11 12 13 |
# File 'lib/tetra/facades/ant.rb', line 7 def self.commandline(project_path, ant_path) if ant_path File.join(project_path, ant_path, "ant") else "ant" # use system-provided executable end end |