Sha256: 26bdde949a345f76bec94d11d4c54a189a2e712750005037ea977a504c26833e

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 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|
  sh "git push origin master"
  sh "rake build"

  file = Dir.glob("pkg/*").max_by {|f| File.mtime(f)}

  sh "gem push #{file}"
end

task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gemwarrior-0.15.20 Rakefile
gemwarrior-0.15.19 Rakefile
gemwarrior-0.15.18 Rakefile
gemwarrior-0.15.17 Rakefile
gemwarrior-0.15.16 Rakefile