Permalink
Browse files

moved null_dev before build

  • Loading branch information...
1 parent f042e7f commit 7c1418a149e8e9fc70eae1d74b3de7daf0a8a25f @zenpoy committed Jul 26, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/vulcan/cli.rb
View
10 lib/vulcan/cli.rb
@@ -13,7 +13,11 @@
require "yaml"
class Vulcan::CLI < Thor
-
+
+ def null_dev
+ return test(?e, '/dev/null') ? '/dev/null' : 'NUL:'
+ end
+
desc "build", <<-DESC
build a piece of software for the heroku cloud using COMMAND as a build command
if no COMMAND is specified, a sensible default will be chosen for you
@@ -28,10 +32,6 @@ class Vulcan::CLI < Thor
method_option :deps, :aliases => "-d", :desc => "urls of vulcan compiled libraries to build with", :type=>:array
method_option :verbose, :aliases => "-v", :desc => "show the full build output", :type => :boolean
- def null_dev
- return test(?e, '/dev/null') ? '/dev/null' : 'NUL:'
- end
-
def build
app = read_config[:app] || "need a server first, use vulcan create"

0 comments on commit 7c1418a

Please sign in to comment.