Skip to content

Commit

Permalink
Rakefile - clean up logging when using Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Oct 11, 2023
1 parent 320c88c commit 169bfe9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ JAVA_CLASSES = []
JRUBY_PARSER_JAR = File.expand_path("lib/json/ext/parser.jar")
JRUBY_GENERATOR_JAR = File.expand_path("lib/json/ext/generator.jar")

RAGEL_CODEGEN = %w[rlcodegen rlgen-cd ragel].find(&which)
RAGEL_DOTGEN = %w[rlgen-dot rlgen-cd ragel].find(&which)
if RUBY_PLATFORM =~ /mingw|mswin/
# cleans up Windows CI output
RAGEL_CODEGEN = %w[ragel].find(&which)
RAGEL_DOTGEN = %w[ragel].find(&which)
else
RAGEL_CODEGEN = %w[rlcodegen rlgen-cd ragel].find(&which)
RAGEL_DOTGEN = %w[rlgen-dot rlgen-cd ragel].find(&which)
end

desc "Installing library (pure)"
task :install_pure => :version do
Expand Down

0 comments on commit 169bfe9

Please # to comment.