Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rakefile and gemspec

  • Loading branch information...
commit fb3decfce2f4010f73da444951f73bc33f2a4bdb 1 parent 527f600
@jferris jferris authored
Showing with 55 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +23 −0 Rakefile
  3. +31 −0 trout.gemspec
View
1  .gitignore
@@ -2,4 +2,5 @@ tmp
.swo
*~
*.swp
+pkg
View
23 Rakefile
@@ -0,0 +1,23 @@
+require 'rubygems'
+require 'rake'
+require 'date'
+require 'rake/gempackagetask'
+
+require 'cucumber/rake/task'
+
+desc 'Default: run the cucumber features.'
+task :default => :cucumber
+
+desc "Clean files generated by rake tasks"
+task :clobber => [:clobber_rdoc, :clobber_rcov]
+
+Cucumber::Rake::Task.new(:cucumber) do |t|
+ t.fork = true
+ t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
+end
+
+eval("$specification = begin; #{IO.read('trout.gemspec')}; end")
+Rake::GemPackageTask.new($specification) do |package|
+ package.need_zip = true
+ package.need_tar = true
+end
View
31 trout.gemspec
@@ -0,0 +1,31 @@
+Gem::Specification.new do |s|
+ s.name = %q{trout}
+ s.version = '0.1'
+ s.summary = %q{So your common files can swim upstream.}
+ s.description = %q{Trout allows you to maintain a base version of special
+ files (like Gemfile) in one repository, and then syncronize just that
+ file with several other repositories. This means that you can update your
+ Gemfile in the master repository, and then get the latest of all the
+ common gems that you use in each project just by running "trout update
+ Gemfile".}
+
+ s.files = Dir['[A-Z]*', 'lib/**/*.rb', 'features/**/*', 'bin/**/*']
+ s.require_path = 'lib'
+ s.test_files = Dir['features/**/*']
+
+ s.default_executable = 'trout'
+ s.executables = ['trout']
+
+ s.has_rdoc = false
+
+ s.authors = ["Joe Ferris"]
+ s.email = %q{jferris@thoughtbot.com}
+ s.homepage = "http://github.com/jferris/trout"
+
+ s.add_development_dependency('cucumber')
+ s.add_development_dependency('aruba')
+
+ s.platform = Gem::Platform::RUBY
+ s.rubygems_version = %q{1.2.0}
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.