From 7e65590a55ba575d0086bdfc25addaf1051d799b Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 11 Sep 2010 01:13:08 +0100 Subject: Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean" Source code is included for reference. This can go away again once Prebuild is updated with a more general mechanism for cleaning up files. The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe --- Prebuild/tests/.svn/text-base/Makefile.svn-base | 24 +++++++++++ Prebuild/tests/.svn/text-base/README.txt.svn-base | 5 +++ .../.svn/text-base/include-001.expected.svn-base | 46 ++++++++++++++++++++++ .../.svn/text-base/include-001.include.svn-base | 33 ++++++++++++++++ .../.svn/text-base/include-001.prebuild.svn-base | 22 +++++++++++ .../.svn/text-base/include-002-2.include.svn-base | 8 ++++ .../.svn/text-base/include-002.expected.svn-base | 26 ++++++++++++ .../.svn/text-base/include-002.include.svn-base | 14 +++++++ .../.svn/text-base/include-002.prebuild.svn-base | 7 ++++ 9 files changed, 185 insertions(+) create mode 100644 Prebuild/tests/.svn/text-base/Makefile.svn-base create mode 100644 Prebuild/tests/.svn/text-base/README.txt.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-001.expected.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-001.include.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-002-2.include.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-002.expected.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-002.include.svn-base create mode 100644 Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base (limited to 'Prebuild/tests/.svn/text-base') diff --git a/Prebuild/tests/.svn/text-base/Makefile.svn-base b/Prebuild/tests/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..4a8ddf4 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/Makefile.svn-base @@ -0,0 +1,24 @@ +# +# Executable +# + +# Executables +PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile + +# Files +PREBUILDS = $(wildcard *.prebuild) +RESULTS = $(PREBUILDS:prebuild=results) +TESTS = $(PREBUILDS:prebuild=test) + +all: $(TESTS) + +clean: + rm -f *~ *.log + rm -f $(RESULTS) + +%.test: %.prebuild + $(PREBUILD) /log $*.log /file $*.prebuild /ppi $*.results >& /dev/null + if ! cmp $*.expected $*.results; then \ + echo $*.prebuild failed; \ + false; \ + fi diff --git a/Prebuild/tests/.svn/text-base/README.txt.svn-base b/Prebuild/tests/.svn/text-base/README.txt.svn-base new file mode 100644 index 0000000..2c2de3b --- /dev/null +++ b/Prebuild/tests/.svn/text-base/README.txt.svn-base @@ -0,0 +1,5 @@ +There are some tests that are run via a Makfile in this +directory. They haven't been included in any form of unit tests, but +they are there to help test the functionality in some what. Simply +build prebuild (so there is a src/bin/Release/prebuild.exe) and type +`make` in this directory. Everything should pass without errors. diff --git a/Prebuild/tests/.svn/text-base/include-001.expected.svn-base b/Prebuild/tests/.svn/text-base/include-001.expected.svn-base new file mode 100644 index 0000000..26374b5 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-001.expected.svn-base @@ -0,0 +1,46 @@ + + + + + DEBUG;TRACE + false + bin/Debug + true + + + + + TRACE + bin/Release + true + false + + + + + + DEBUG;TRACE + false + bin/Debug + true + Prebuild.snk + 1595 + + + + + TRACE + bin/Release + true + false + Prebuild.snk + 1595 + + + + + + + + + diff --git a/Prebuild/tests/.svn/text-base/include-001.include.svn-base b/Prebuild/tests/.svn/text-base/include-001.include.svn-base new file mode 100644 index 0000000..7f75962 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-001.include.svn-base @@ -0,0 +1,33 @@ + + + + DEBUG;TRACE + false + bin/Debug + true + Prebuild.snk + 1595 + + + + + TRACE + bin/Release + true + false + Prebuild.snk + 1595 + + + + + + + diff --git a/Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base b/Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base new file mode 100644 index 0000000..8047008 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base @@ -0,0 +1,22 @@ + + + + + + DEBUG;TRACE + false + bin/Debug + true + + + + + TRACE + bin/Release + true + false + + + + + diff --git a/Prebuild/tests/.svn/text-base/include-002-2.include.svn-base b/Prebuild/tests/.svn/text-base/include-002-2.include.svn-base new file mode 100644 index 0000000..661b7f3 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-002-2.include.svn-base @@ -0,0 +1,8 @@ + + + DEBUG;TRACE + false + bin/Debug + true + + diff --git a/Prebuild/tests/.svn/text-base/include-002.expected.svn-base b/Prebuild/tests/.svn/text-base/include-002.expected.svn-base new file mode 100644 index 0000000..9849658 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-002.expected.svn-base @@ -0,0 +1,26 @@ + + + + + DEBUG;TRACE + false + bin/Debug + true + + + + + + DEBUG;TRACE + false + bin/Debug + true + + + + + + + + + diff --git a/Prebuild/tests/.svn/text-base/include-002.include.svn-base b/Prebuild/tests/.svn/text-base/include-002.include.svn-base new file mode 100644 index 0000000..64f4058 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-002.include.svn-base @@ -0,0 +1,14 @@ + + + + + + + diff --git a/Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base b/Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base new file mode 100644 index 0000000..9e85f20 --- /dev/null +++ b/Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base @@ -0,0 +1,7 @@ + + + + + + + -- cgit v1.1