2023-01-05 15:17:19 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-02-22 16:53:28 +01:00
|
|
|
require 'rake/testtask'
|
|
|
|
|
|
|
|
Rake::TestTask.new do |t|
|
2023-01-05 15:17:19 +01:00
|
|
|
t.pattern = 'spec/*_spec.rb'
|
2022-02-22 16:53:28 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
task :gem do
|
2023-01-05 15:17:19 +01:00
|
|
|
sh 'gem build rpl.gemspec'
|
2022-02-22 16:53:28 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
task :run do
|
2023-01-05 15:17:19 +01:00
|
|
|
sh 'ruby -Ilib bin/rpl'
|
2022-02-22 16:53:28 +01:00
|
|
|
end
|