diff options
author | onefang | 2021-09-02 17:03:59 +1000 |
---|---|---|
committer | onefang | 2021-09-02 17:03:59 +1000 |
commit | 905b9c1889df68fec7dff7e4d8004f0cb58b9fec (patch) | |
tree | c7da2f3061af916911195d4a00de46df49e27bff | |
parent | Clean out excess pdb file. (diff) | |
download | opensim-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-x | BuildIt.sh | 7 | ||||
-rwxr-xr-x | CleanMe.sh | 11 | ||||
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 6 |
3 files changed, 15 insertions, 9 deletions
@@ -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. | ||
18 | find -name obj -type d -print | xargs /bin/rm -fr | ||
19 | # Clean the stuff the tests created. | ||
20 | rm -fr bin/ScriptEngines | ||
21 | rm 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. | ||
5 | find -name obj -type d -print | xargs /bin/rm -fr | ||
6 | find -name *.csproj -type f -print | xargs /bin/rm -fr | ||
7 | find -name *.csproj.* -type f -print | xargs /bin/rm -fr | ||
8 | find -name *.pdb -type f -print | xargs /bin/rm -fr | ||
9 | # Clean the stuff the tests created. | ||
10 | rm -fr bin/ScriptEngines | ||
11 | rm 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!"); |