mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Generate the --version information in the executables from Haml.version.
This commit is contained in:
parent
c38202800d
commit
709ccc2c3f
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module Haml
|
|||
end
|
||||
|
||||
opts.on_tail("-v", "--version", "Print version") do
|
||||
puts("Haml " + File.read(File.dirname(__FILE__) + '/../../VERSION'))
|
||||
puts("Haml #{::Haml.version[:string]}")
|
||||
exit
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue