Use full path for ragel svg task

Currently the ragel:svg task is broken. We need to use the full path
because of a change to Rake in https://github.com/ruby/rake/pull/39.

We already changed this for the ragel:generate task in
20ffe29a45
This commit is contained in:
Daniel Colson 2021-03-10 09:11:17 -05:00 committed by Jeremy Daer
parent 7e43c69aec
commit 466876dbe9
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@ rule %r|_parser\.rb\z| => '%X.rl' do |t|
end
# Dot files for Ragel parsers
rule %r|_parser\.dot\z| => '.rl' do |t|
rule %r|_parser\.dot\z| => '%X.rl' do |t|
sh "ragel -s -V -o #{t.name} #{t.source}"
end
rule %r|_parser\.svg\z| => '.dot' do |t|
rule %r|_parser\.svg\z| => '%X.dot' do |t|
sh "dot -v -Tsvg -Goverlap=scale -o #{t.name} #{t.source}"
end