Sha256: d0976913c3686a946f47eabd10ecdcefe26470f55b6c7615577da6c537a825e6

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"

GEM_NAME = "organize_gemfile"
GEM_VERSION = OrganizeGemfile::VERSION

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/test_*.rb"]
end

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

task default: %i[test 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"
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
organize_gemfile-0.1.1 Rakefile