Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

beginnings of init command

  • Loading branch information...
commit 2800b89e6a6636eac21c1f8c7808820808000b99 1 parent 2e44168
David Dollar authored
13 data/template/Gemfile
View
@@ -0,0 +1,13 @@
+source "http://rubygems.org"
+
+# gem "dependency"
+
+group :development do
+ gem "parka"
+end
+
+group :test do
+ gem "rake"
+ gem "rr"
+ gem "rspec", "~> 2.0.0.beta.22"
+end
11 data/template/gemname.gemspec
View
@@ -0,0 +1,11 @@
+require "rubygems"
+require "parka/specification"
+
+Parka::Specification.new do |gem|
+ gem.name = "gemname"
+ gem.version = GemName::VERSION
+ gem.summary = "TODO: Brief description of gem"
+ gem.homepage = "http://github.com/USERNAME/gemname"
+
+ # gem.executables = "gemname"
+end
5 lib/parka/cli.rb
View
@@ -22,6 +22,11 @@ def build(gemspec_filename=nil)
filename
end
+ desc "init DIRECTORY", "Create a new gem"
+
+ def init(directory)
+ end
+
desc "install [GEMSPEC]", "Build and install the gem"
def install(gemspec_filename=nil)
Please sign in to comment.
Something went wrong with that request. Please try again.