Skip to content

Commit

Permalink
feat(options): enhance build info output with version details
Browse files Browse the repository at this point in the history
Signed-off-by: HAHWUL <hahwul@gmail.com>
  • Loading branch information
hahwul committed Jan 16, 2025
1 parent 7670b2c commit de87346
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/options.cr
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ def run_options_parser
exit
end
parser.on "--build-info", "Show version and Build info" do
puts Crystal::DESCRIPTION
puts "Noir Version: #{Noir::VERSION}"
puts "Crystal Version: #{Crystal::VERSION}"
puts "LLVM Version: #{Crystal::LLVM_VERSION}"
puts "TARGET: #{Crystal::TARGET_TRIPLE}"
exit
end
parser.separator "\n OTHERS:".colorize(:blue)
Expand Down

0 comments on commit de87346

Please sign in to comment.