The Haml executable no longer raises warnings.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@246 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
0ffe3af894
commit
9f543c6af6
2
bin/haml
2
bin/haml
|
@ -10,7 +10,7 @@ Description:
|
|||
and outputs the result to the specified file.
|
||||
END
|
||||
else
|
||||
require File.join(File.dirname(__FILE__), '..', 'lib', 'haml', 'engine')
|
||||
require File.dirname(__FILE__) + '/../lib/haml'
|
||||
|
||||
template = File.read(ARGV[0])
|
||||
result = Haml::Engine.new(template).to_html
|
||||
|
|
Loading…
Reference in New Issue