From 8829c666d6c6f38f59a481bdadbf1204f8a040b5 Mon Sep 17 00:00:00 2001 From: Eric Hodel Date: Tue, 6 Mar 2012 15:31:43 -0800 Subject: [PATCH] Added support for arbitrary directives to the kpeg grammar. Added support for a "header" directive to the kpeg code formatter. The header directive is placed in the output above all other output. Switched to minitest from test/unit to support warnings emitted by the kpeg grammar. Bugs in the kpeg code generator no longer overwrite files. --- .autotest | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .autotest diff --git a/.autotest b/.autotest new file mode 100644 index 0000000..ba9e880 --- /dev/null +++ b/.autotest @@ -0,0 +1,10 @@ +require 'autotest/restart' + +Autotest.add_hook :run_command do |at| + system "#{Gem.ruby} -rubygems #{Gem.bin_path 'rake', 'rake'} parser" +end + +Autotest.add_hook :initialize do |at| + at.testlib = 'minitest/unit' +end +