Skip to content

Commit

Permalink
added a simple way to create a config/worker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Nov 21, 2011
1 parent d61569c commit ed8644c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions Thorfile
Expand Up @@ -5,4 +5,5 @@ $: << 'lib'
require 'travis/boxes/cli/vagrant'
require 'travis/boxes/cli/vbox'
require 'travis/boxes/cli/veewee'
require 'travis/boxes/cli/travis'

24 changes: 24 additions & 0 deletions lib/travis/boxes/cli/travis.rb
@@ -0,0 +1,24 @@
require 'archive/tar/minitar'
require 'json'
require 'travis/boxes'

module Travis
module Boxes
module Cli
class Travis < Thor
namespace "travis"

include Cli

desc 'init', 'Add a config/worker.yml'

def init
run <<-sh
touch config/worker.yml
sh
end

end
end
end
end

0 comments on commit ed8644c

Please sign in to comment.