Sha256: 63f88fc70161b5747acd53bfcd5bc97cf1d6342b5e2362e1198d2a36ad19ff6f

Contents?: true

Size: 629 Bytes

Versions: 5

Compression:

Stored size: 629 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)
GEM_NAME = "whoop"
GEM_VERSION = Whoop::VERSION

require "standard/rake"
require "bump/tasks"

task default: %i[spec standard]

task :build do
  system "gem build #{GEM_NAME}.gemspec"
end

task install: :build do
  system "gem install #{GEM_NAME}-#{GEM_VERSION}.gem"
end

task publish: :build do
  system "gem push #{GEM_NAME}-#{GEM_VERSION}.gem"
  system "gem push --key github --host https://rubygems.pkg.github.com/coderberry #{GEM_NAME}-#{GEM_VERSION}.gem"
end

task :clean do
  system "rm *.gem"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whoop-1.3.0 Rakefile
whoop-1.2.0 Rakefile
whoop-1.1.0 Rakefile
whoop-1.0.4 Rakefile
whoop-1.0.3 Rakefile