Rakefile in arti_mark-0.0.1.beta4 vs Rakefile in arti_mark-0.1.beta1
- old
+ new
@@ -1,2 +1,12 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+
+rule(/\.kpeg\.rb/ => proc {|task_name| task_name.sub(/kpeg\.rb$/, 'kpeg')}) do
+ |t|
+ system "kpeg -f #{t.prerequisites[0]}"
+end
+
+desc "run rspec"
+task :test => ["lib/arti_mark/parser.kpeg.rb"] do
+ system 'rspec'
+end