Permalink
Browse files

added a simple way to create a config/worker.yml

  • Loading branch information...
1 parent d61569c commit ed8644ceb531aa77b4977df6d5a86627ae936c25 @joshk joshk committed Nov 21, 2011
Showing with 25 additions and 0 deletions.
  1. +1 −0 Thorfile
  2. +24 −0 lib/travis/boxes/cli/travis.rb
View
@@ -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'
@@ -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.