Mercurial > projects > dwt2
comparison rakefile @ 8:2847134a5fc0
more tango abstraction
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 05 Mar 2009 15:12:35 +0100 |
parents | 4c0057e71936 |
children | bc29606a740c |
comparison
equal
deleted
inserted
replaced
7:33be57450a23 | 8:2847134a5fc0 |
---|---|
4 # Move objects to unique names | 4 # Move objects to unique names |
5 # | 5 # |
6 require 'find' | 6 require 'find' |
7 require 'fileutils' | 7 require 'fileutils' |
8 | 8 |
9 DMD="dmd.exe" | 9 #DMD="c:\\project\\dmd-2.026\\dmd\\windows\\bin\\dmd.exe" |
10 DMD="dmd" | |
10 LOCALOBJDIR="obj" | 11 LOCALOBJDIR="obj" |
11 OBJDIR="obj" | 12 OBJDIR="obj" |
12 DIMPDIR="imp" | 13 DIMPDIR="imp" |
13 RSPNAME="rsp" | 14 RSPNAME="rsp" |
14 ALL_RESDIRS= [ "java/res", "org.eclipse.swt.win32.win32.x86/res" ] | 15 ALL_RESDIRS= [ "java/res", "org.eclipse.swt.win32.win32.x86/res" ] |
39 ALL_RESDIRS.each do | dir | | 40 ALL_RESDIRS.each do | dir | |
40 rsp.puts "-J#{File.expand_path(dir).to_path}" | 41 rsp.puts "-J#{File.expand_path(dir).to_path}" |
41 end | 42 end |
42 rsp.puts "-c" | 43 rsp.puts "-c" |
43 rsp.puts "-op" | 44 rsp.puts "-op" |
44 rsp.puts "-version=TANGOSVN" | |
45 Find.find( srcdir_abs ) do |path| | 45 Find.find( srcdir_abs ) do |path| |
46 if path =~ /\.d$/ then | 46 if path =~ /\.d$/ then |
47 rsp.puts path.to_path | 47 rsp.puts path.to_path |
48 end | 48 end |
49 end | 49 end |