mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
10 lines
248 B
Ruby
10 lines
248 B
Ruby
root = File.expand_path("../..", __FILE__)
|
|
File.open(File.expand_path("lib/haml/root.rb", root), "w") do |f|
|
|
f << <<-RUBY
|
|
module Haml
|
|
ROOT_DIR = #{root.inspect}
|
|
end
|
|
RUBY
|
|
end
|
|
|
|
File.open('Makefile', 'w') { |f| f.puts("install:\n\t$(exit 0)") }
|