Last active
February 28, 2016 07:52
-
-
Save duckinator/329ea833a43b969fa45f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.gem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # foo.gemspec | |
| require 'rubygems' | |
| require 'rubygems/dependency_installer' | |
| Gem::Specification.new do |spec| | |
| spec.name = 'foo' | |
| spec.version = '0.0.1' | |
| spec.author = 'Daniel J. Berger' | |
| spec.license = 'Artistic 2.0' | |
| spec.email = '[email protected]' | |
| spec.homepage = 'http://github.com/djberg96/foo' | |
| spec.summary = 'Foo' | |
| spec.test_file = 'test_foo.rb' | |
| spec.files = Dir['**/*'].reject{ |f| f.include?('git') } | |
| installer = Gem::DependencyInstaller.new | |
| installer.install 'win32-ipc' | |
| spec.extra_rdoc_files = ['README'] | |
| spec.description = "Test spec for general futzing" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| rm -f foo-0.0.1.gem | |
| gem build foo.gemspec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment