1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: Fix compile task
No need to add files to be removed in the clean task since we do not call it
during the build.
.
Call racc installed in the system via debian package instead of calling bundle
exec.
Author: Lucas Kanashiro <kanashiro@debian.org>
Forwarded: not-needed
Last-Update: 2022-12-07
--- a/tasks/compile.rake
+++ b/tasks/compile.rake
@@ -21,7 +21,6 @@
parser: 'lib/rubocop/ast/node_pattern/parser.racc.rb'
}
-CLEAN.include(files.values)
namespace :generate do
files.each do |kind, filename|
desc "Generate just the #{kind}"
@@ -35,6 +34,6 @@
end
rule '.racc.rb' => '.y' do |t|
- cmd = "bundle exec racc -l -v -o #{t.name} #{t.source}"
+ cmd = "racc -l -v -o #{t.name} #{t.source}"
sh cmd
end
|