Subversion Repositories FlightCtrl

Rev

Go to most recent revision | 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
 
10
`ant clean`
11
 
12
Dir[resdir+"*"].each { |res_type|
13
 res_type.gsub!(resdir,"")
14
 p res_type
15
 
16
 prefs_file= File.new("build.props","w")
17
 prefs_file <<  ("screensize="+res_type+"\n")  
18
 prefs_file.close
19
 
20
 log= `ant build`
21
 log.each_line {        |l| puts l }
22
}
23