Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
305 ligi 1
# little ruby script to build versions for all resolution types
2
# 
3
# Author: Marcus -LiGi- Bueschleb
4
# MailTo: ligi@smart4mobile.de
5
#
6
 
7
 
8
resdir="res/"
9
 
314 ligi 10
puts `mv build.props build.props.bak`
11
puts `ant clean`
305 ligi 12
 
13
Dir[resdir+"*"].each { |res_type|
14
 res_type.gsub!(resdir,"")
15
 p res_type
16
 
17
 prefs_file= File.new("build.props","w")
18
 prefs_file <<  ("screensize="+res_type+"\n")  
19
 prefs_file.close
20
 
21
 log= `ant build`
22
 log.each_line {        |l| puts l }
23
}
314 ligi 24
puts `mv -v  build.props.bak build.props`
305 ligi 25