Sha256: 176d5eb4e701ddcc2a8439126651cb8fdba8c782d707c3e2b2c1c10acca7f14c

Contents?: true

Size: 371 Bytes

Versions: 11

Compression:

Stored size: 371 Bytes

Contents

require 'albacore/albacoretask'

class Exec
  include Albacore::Task
  include Albacore::RunCommand

  def initialize
    super()
    update_attributes Albacore.configuration.exec.to_hash
  end
    
  def execute
    result = run_command "Exec"
    
    failure_message = 'Exec Failed. See Build Log For Detail'
    fail_with_message failure_message if !result
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
albacore-0.3.6 lib/albacore/exec.rb
albacore-1.0.0.rc.2 lib/albacore/exec.rb
albacore-1.0.0.rc.1 lib/albacore/exec.rb
albacore-0.3.5 lib/albacore/exec.rb
albacore-0.3.4 lib/albacore/exec.rb
albacore-0.3.3 lib/albacore/exec.rb
albacore-0.3.2 lib/albacore/exec.rb
albacore-0.3.1 lib/albacore/exec.rb
albacore-0.3.0 lib/albacore/exec.rb
albacore-0.2.7 lib/albacore/exec.rb
albacore-0.2.6 lib/albacore/exec.rb