File: extconf.rb

package info (click to toggle)
ruby-sass 3.7.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,396 kB
  • sloc: ruby: 32,443; sh: 26; makefile: 25
file content (10 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
root = File.expand_path("../..", __FILE__)
File.open(File.expand_path("lib/sass/root.rb", root), "w") do |f|
  f << <<-RUBY
module Sass
  ROOT_DIR = #{root.inspect}
end
  RUBY
end

File.open('Makefile', 'w') { |f| f.puts("install:\n\t$(exit 0)") }