Sha256: 174dd0eb85daeae75e72c02074deabba05d4f494aa4d45b41f0cd5fc79ec7fcb

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

require 'taskwarrior-web/config'

module TaskwarriorWeb
  module Runner

    TASK_BIN = 'task'

    def run
      @built ||= build
      to_run = "#{TASK_BIN} #{@built}"
      puts "Command: #{to_run}"
      `#{to_run}`
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
taskwarrior-web-1.0.3 lib/taskwarrior-web/runner.rb
taskwarrior-web-1.0.2 lib/taskwarrior-web/runner.rb
taskwarrior-web-1.0.1 lib/taskwarrior-web/runner.rb