Sha256: 0e85171e3c1346293ac0df750d22819cbe950fa67462870852fb6d0cf1c9ebb2
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
#!/usr/bin/env ratch # compile extensions main :compile => [:compile_scanner] do puts "Compile complete." end task :compile_scanner do file = nil cd("ext/tmailscanner/tmail") do ruby "extconf.rb" make #file = glob("tmailscanner.#{dlext}").first #file = File.expand_path(file) if file end #if file # mkdir_p("lib/tmail/#{arch}") # mv(file, "lib/tmail/#{arch}/") #end end def dlext Config::CONFIG['DLEXT'] end def arch Config::CONFIG['arch'] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tmail-1.2.1 | script/compile |