Skip to content

Commit

Permalink
Added ability to generate gems without a gemspec template
Browse files Browse the repository at this point in the history
  • Loading branch information
soveran committed Sep 15, 2009
1 parent 97cc3ed commit 1fbcbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joe.thor
Expand Up @@ -26,7 +26,7 @@ class Joe < Thor

desc "build", "Build the gem"
def build
gemspec
gemspec if File.exists?("#{spec_file}.erb")

if file = `gem build #{spec_file}`[/ File: (.*)/, 1]
FileUtils.mkdir_p("pkg")
Expand Down

0 comments on commit 1fbcbff

Please sign in to comment.