lib/omnibus/cli.rb in omnibus-3.2.2 vs lib/omnibus/cli.rb in omnibus-4.0.0.beta.1

- old
+ new

@@ -59,15 +59,12 @@ # # Build an Omnibus project or software definition. # # $ omnibus build chefdk # - # @todo Support regular expressions (+$ omnibus build chef*+) - # desc 'build PROJECT', 'Build the given Omnibus project' def build(name) - project = Omnibus.project(name) - raise ProjectNotFound.new(name) unless project + project = Project.load(name) say("Building #{project.name} #{project.build_version}...") project.build_me end