aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-09-02 17:03:59 +1000
committeronefang2021-09-02 17:03:59 +1000
commit905b9c1889df68fec7dff7e4d8004f0cb58b9fec (patch)
treec7da2f3061af916911195d4a00de46df49e27bff
parentClean out excess pdb file. (diff)
downloadopensim-SC-905b9c1889df68fec7dff7e4d8004f0cb58b9fec.zip
opensim-SC-905b9c1889df68fec7dff7e4d8004f0cb58b9fec.tar.gz
opensim-SC-905b9c1889df68fec7dff7e4d8004f0cb58b9fec.tar.bz2
opensim-SC-905b9c1889df68fec7dff7e4d8004f0cb58b9fec.tar.xz
Properly clean OpenSim before beuilding it.
-rwxr-xr-xBuildIt.sh7
-rwxr-xr-xCleanMe.sh11
-rw-r--r--src/sledjchisl/sledjchisl.c6
3 files changed, 15 insertions, 9 deletions
diff --git a/BuildIt.sh b/BuildIt.sh
index 2046ac9..aff3b70 100755
--- a/BuildIt.sh
+++ b/BuildIt.sh
@@ -13,12 +13,7 @@
13#rm -rf addon-modules/Gloebit/GloebitMoneyModule 13#rm -rf addon-modules/Gloebit/GloebitMoneyModule
14#cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/ 14#cp -r git-sub-modules/opensim-moneymodule-gloebit/addon-modules/Gloebit/GloebitMoneyModule addon-modules/Gloebit/
15 15
16./runprebuild.sh autoclean 16./CleanMe.sh
17# Clean the stuff autoclean forgets to clean. I feel so dirty.
18find -name obj -type d -print | xargs /bin/rm -fr
19# Clean the stuff the tests created.
20rm -fr bin/ScriptEngines
21rm Test*.txt
22./runprebuild.sh vs2015 17./runprebuild.sh vs2015
23 18
24# Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find. 19# Prebuild converts Microsoft.CSharp.targets to Microsoft.CSHARP.Targets, which case sensitive file systems fail to find.
diff --git a/CleanMe.sh b/CleanMe.sh
new file mode 100755
index 0000000..04b5fa5
--- /dev/null
+++ b/CleanMe.sh
@@ -0,0 +1,11 @@
1#!/bin/bash
2
3./runprebuild.sh autoclean
4# Clean the stuff autoclean forgets to clean. I feel so dirty.
5find -name obj -type d -print | xargs /bin/rm -fr
6find -name *.csproj -type f -print | xargs /bin/rm -fr
7find -name *.csproj.* -type f -print | xargs /bin/rm -fr
8find -name *.pdb -type f -print | xargs /bin/rm -fr
9# Clean the stuff the tests created.
10rm -fr bin/ScriptEngines
11rm Test*.txt
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 23f47a1..8d5ddf0 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2479,9 +2479,9 @@ gitARend:
2479 if (shellMeFail("cd %s; ./runprebuild.sh autoclean", t)) E("Failed to autoclean!"); 2479 if (shellMeFail("cd %s; ./runprebuild.sh autoclean", t)) E("Failed to autoclean!");
2480 // Clean the stuff autoclean forgets to clean. I feel so dirty. 2480 // Clean the stuff autoclean forgets to clean. I feel so dirty.
2481 if (shellMeFail("cd %s; find -name obj -type d -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!"); 2481 if (shellMeFail("cd %s; find -name obj -type d -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!");
2482 if (shellMeFail("cd %s; find -name *.csproj -type d -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!"); 2482 if (shellMeFail("cd %s; find -name *.csproj -type f -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!");
2483 if (shellMeFail("cd %s; find -name *.csproj.* -type d -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!"); 2483 if (shellMeFail("cd %s; find -name *.csproj.* -type f -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!");
2484 if (shellMeFail("cd %s; find -name *.pdb -type d -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!"); 2484 if (shellMeFail("cd %s; find -name *.pdb -type f -print | xargs /bin/rm -fr", t)) E("Failed to rm obj!");
2485 if (shellMeFail("cd %s; rm -fr bin/ScriptEngines", t)) E("Failed to rm ScriptEngines!"); 2485 if (shellMeFail("cd %s; rm -fr bin/ScriptEngines", t)) E("Failed to rm ScriptEngines!");
2486 // Clean the stuff the tests created. 2486 // Clean the stuff the tests created.
2487 if (shellMeFail("cd %s; rm Test*.txt", t)) E("Failed to Test results!"); 2487 if (shellMeFail("cd %s; rm Test*.txt", t)) E("Failed to Test results!");