Skip to content

Commit

Permalink
moved null_dev before build
Browse files Browse the repository at this point in the history
  • Loading branch information
zenpoy committed Jul 26, 2012
1 parent f042e7f commit 7c1418a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/vulcan/cli.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
require "yaml" require "yaml"


class Vulcan::CLI < Thor class Vulcan::CLI < Thor


def null_dev
return test(?e, '/dev/null') ? '/dev/null' : 'NUL:'
end

desc "build", <<-DESC desc "build", <<-DESC
build a piece of software for the heroku cloud using COMMAND as a build command 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 if no COMMAND is specified, a sensible default will be chosen for you
Expand All @@ -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 :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 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 def build
app = read_config[:app] || "need a server first, use vulcan create" app = read_config[:app] || "need a server first, use vulcan create"


Expand Down

0 comments on commit 7c1418a

Please sign in to comment.