Sha256: 61423e73ba2c22c98094f496f4baa6ca8718916569b614e3dad753e37ce768b6
Contents?: true
Size: 979 Bytes
Versions: 6
Compression:
Stored size: 979 Bytes
Contents
#!/usr/bin/env rake $LOAD_PATH.push File.expand_path("../lib", __FILE__) require "flipper/version" # gem install pkg/*.gem # gem uninstall flipper flipper-ui flipper-redis desc 'Build gem into the pkg directory' task :build do FileUtils.rm_rf('pkg') Dir['*.gemspec'].each do |gemspec| system "gem build #{gemspec}" end FileUtils.mkdir_p('pkg') FileUtils.mv(Dir['*.gem'], 'pkg') end desc 'Tags version, pushes to remote, and pushes gem' task :release => :build do sh 'git', 'tag', "v#{Flipper::VERSION}" sh "git push origin master" sh "git push origin v#{Flipper::VERSION}" sh "ls pkg/*.gem | xargs -n 1 gem push" end require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = %w(--color) end namespace :spec do desc "Run specs for UI queue" RSpec::Core::RakeTask.new(:ui) do |t| t.rspec_opts = %w(--color) t.pattern = ["spec/flipper/ui/**/*_spec.rb", "spec/flipper/ui_spec.rb"] end end task :default => :spec
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
flipper-0.7.2 | Rakefile |
flipper-0.7.1 | Rakefile |
flipper-0.7.0 | Rakefile |
flipper-0.7.0.beta6 | Rakefile |
flipper-0.7.0.beta5 | Rakefile |
flipper-0.7.0.beta4 | Rakefile |