Sha256: d2364e81eea70d5b5da1805f77598570c256aa4c77664ac9021bc0ecda23864b

Contents?: true

Size: 770 Bytes

Versions: 6

Compression:

Stored size: 770 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

require_relative 'lib/markdown_exec/version'

task default: %i[test rubocop]

# task :default => :build

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

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

task publish: :build do
  system "gem push #{MarkdownExec::GEM_NAME}-#{MarkdownExec::VERSION}.gem"
end

task uninstall: :build do
  system "gem uninstall #{MarkdownExec::GEM_NAME}"
end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
markdown_exec-0.2.1 Rakefile
markdown_exec-0.2.0 Rakefile
markdown_exec-0.1.3 Rakefile
markdown_exec-0.1.2 Rakefile
markdown_exec-0.1.1 Rakefile
markdown_exec-0.1.0 Rakefile