replace Makefile with equivalent Rakefile

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2022-02-22 16:53:28 +01:00
parent aeacfc8655
commit 42fc1ddb9b
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 13 additions and 8 deletions

View file

@ -1,8 +0,0 @@
gem: rpl.gemspec
gem build rpl.gemspec
run:
ruby -Ilib bin/rpl
test:
find ./spec/ -name \*.rb -exec ruby -Ilib {} \;

13
Rakefile Normal file
View file

@ -0,0 +1,13 @@
require 'rake/testtask'
Rake::TestTask.new do |t|
t.pattern = "spec/*_spec.rb"
end
task :gem do
sh "gem build rpl.gemspec"
end
task :run do
sh "ruby -Ilib bin/rpl"
end