Sha256: e563d1b3a40ff0d0c11cc392b8910af78de4f7158870d2e0f876aeb7712173c6
Contents?: true
Size: 732 Bytes
Versions: 1
Compression:
Stored size: 732 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" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
organize_gemfile-0.1.2 | Rakefile |