Class: Tetra::Ant

Inherits:
Object
  • Object
show all
Defined in:
lib/tetra/facades/ant.rb

Overview

encapsulates tetra-specific Ant commandline options

Class Method Summary collapse

Class Method Details

.commandline(project_path, ant_path) ⇒ Object

returns a command line for running Ant



6
7
8
9
10
# File 'lib/tetra/facades/ant.rb', line 6

def self.commandline(project_path, ant_path)
  return "ant" unless ant_path

  File.join(project_path, ant_path, "ant")
end