Sha256: 7de1bbd8038da136862f3f0fa3fd42400d276bf8241c81f9227e17ae25552763
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/**/*_test.rb"] end require "rubocop/rake_task" RuboCop::RakeTask.new task default: %i[test rubocop] GEM_NAME = "pagekey" GEM_VERSION = "0.0.0" # task :default => :build 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 |
---|---|
markdown_exec-0.0.1 | Rakefile |