Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 3 → Rev 4

/DUBwise/build_all.rb
0,0 → 1,24
# little ruby script to build versions for all resolution types
#
# Author: Marcus -LiGi- Bueschleb
#
# see README for further Infos
 
resdir="res/"
 
puts `mv build.props build.props.bak`
puts `ant clean`
 
Dir[resdir+"*"].each { |res_type|
res_type.gsub!(resdir,"")
p res_type
 
prefs_file= File.new("build.props","w")
prefs_file << ("screensize="+res_type+"\n")
prefs_file.close
 
log= `ant build`
log.each_line { |l| puts l }
}
puts `mv -v build.props.bak build.props`