replace Makefile with equivalent Rakefile
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
aeacfc8655
commit
42fc1ddb9b
2 changed files with 13 additions and 8 deletions
8
Makefile
8
Makefile
|
@ -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
13
Rakefile
Normal 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
|
Loading…
Reference in a new issue