Subversion Repositories FlightCtrl

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

# 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 }
}