Sha256: 63bf200e9ae8a43e3ec3cad755798f4dd5fc312889da48448c2867fde4bc14d3

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 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 = 'markdown_exec'
GEM_VERSION = '0.0.6'

# 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 uninstall: :build do
  system "gem uninstall #{GEM_NAME}"
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown_exec-0.0.6 Rakefile