Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 ligi 1
# little ruby script to build versions for all resolution types
2
# 
3
# Author: Marcus -LiGi- Bueschleb
4
#
5
# see README for further Infos
6
 
7
resdir="res/"
8
 
9
puts `mv build.props build.props.bak`
10
puts `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
puts `mv -v  build.props.bak build.props`
24