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:
parent
7e43c69aec
commit
466876dbe9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue