Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 304 → Rev 305

/branches/ligi_j2me/build_all.rb
0,0 → 1,23
# little ruby script to build versions for all resolution types
#
# Author: Marcus -LiGi- Bueschleb
# MailTo: ligi@smart4mobile.de
#
 
 
resdir="res/"
 
`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 }
}