Sha256: 6995c92ae3af331b93a0b4f0d0974a310f6aff2852adf291081c952e4715331f
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
require 'rspec/core/rake_task' require 'bundler/gem_tasks' # Default directory to look in is `/specs` # Run with `rake spec` RSpec::Core::RakeTask.new(:spec) do |task| task.rspec_opts = ['--color', '--format', 'documentation'] end task :deploy do |t| file = Dir.glob("pkg/*").max_by {|f| File.mtime(f)} sh "git push origin master" sh "rake build" sh "gem push #{file}" end task :default => :spec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gemwarrior-0.15.15 | Rakefile |
gemwarrior-0.15.14 | Rakefile |
gemwarrior-0.15.13 | Rakefile |