Skip to content

Commit

Permalink
Merge pull request #158 from yui-knk/use_rake_sh
Browse files Browse the repository at this point in the history
Use `sh` method defined by Rake to execute racc commmand
  • Loading branch information
yui-knk authored Oct 25, 2023
2 parents 7203468 + 47234b7 commit 485abbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ require "bundler/gem_tasks"
namespace "build" do
desc "build parser from parser.y by using Racc"
task :racc_parser do
`bundle exec racc parser.y --embedded -o lib/lrama/parser.rb`
sh "bundle exec racc parser.y --embedded -o lib/lrama/parser.rb"
end

desc "build parser for debugging"
task :racc_verbose_parser do
`bundle exec racc parser.y --embedded -o lib/lrama/parser.rb -t --log-file=parser.output`
sh "bundle exec racc parser.y --embedded -o lib/lrama/parser.rb -t --log-file=parser.output"
end
end

0 comments on commit 485abbf

Please sign in to comment.