Permalink
Browse files

Add a gemspec for cocoapods itself.

  • Loading branch information...
1 parent f44cfed commit 5ae76e23da7bde98d76963e0b14059e173a9c242 @alloy alloy committed Sep 17, 2011
Showing with 29 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +28 −0 cocoapods.gemspec
View
@@ -1,6 +1,7 @@
*.swp
*.swo
*.rbo
+*.gem
.DS_Store
tmp
examples/Pods
View
@@ -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.