Skip to content

Commit

Permalink
Add a gemspec for cocoapods itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Sep 17, 2011
1 parent f44cfed commit 5ae76e2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.swp
*.swo
*.rbo
*.gem
.DS_Store
tmp
examples/Pods
Expand Down
28 changes: 28 additions & 0 deletions cocoapods.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = "cocoapods"
s.version = "0.0.1"
s.date = "2011-09-17"
s.license = "MIT"
s.summary = "A simple Objective-C library package manager."
s.email = "eloy.de.enige@gmail.com"
s.homepage = "https://github.com/alloy/cocoapods"
s.authors = ["Eloy Duran"]

s.files = Dir["lib/**/*.rb"] +
Dir["xcode-project-templates/**/*.*"] +
%w{ bin/pod README.md LICENSE }

s.executables = %w{ pod }
s.require_paths = %w{ lib }

s.post_install_message = "To speed up load time of cocoapods consider compiling the Ruby source files:\n\n" \
" $ sudo macgem install rubygems-compile\n" \
" $ sudo macgem compile cocoapods\n\n"

## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = "1.6.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.specification_version = 3 if s.respond_to? :specification_version
end

0 comments on commit 5ae76e2

Please sign in to comment.