Add more debugging statements to try & figure out what's going wrong

This commit is contained in:
Starbeamrainbowlabs 2019-02-12 19:59:57 +00:00
parent 22c2212952
commit 7a5a43f9a2
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

24
build
View file

@ -71,33 +71,33 @@ function task_build {
function task_archive {
task_begin "Deleting extra files";
find RhinoReminds/bin -iname "*.xml" -delete;
execute find RhinoReminds/bin -iname "*.xml" -delete;
task_end $?;
task_begin "Setting permissions";
find RhinoReminds/bin -type f -print0 | xargs -0 -P4 chmod -x;
find RhinoReminds/bin -type f -iname "*.exe" -print0 | xargs -0 -P4 chmod +x;
find RhinoReminds/bin -type f -print0 | xargs -0 -P4 chmod -cx;
find RhinoReminds/bin -type f -iname "*.exe" -print0 | xargs -0 -P4 chmod +cx;
task_end $?;
pwd
ls -l
ls -lR
task_begin "Creating Archives";
cp -ral RhinoReminds/bin/Debug RhinoReminds-Debug;
cp -ral RhinoReminds/bin/Release RhinoReminds-Release;
cp -al README.md RhinoReminds-Debug/README.md;
cp -al README.md RhinoReminds-Release/README.md;
execute cp -ral RhinoReminds/bin/Debug RhinoReminds-Debug;
execute cp -ral RhinoReminds/bin/Release RhinoReminds-Release;
execute cp -al README.md RhinoReminds-Debug/README.md;
execute cp -al README.md RhinoReminds-Release/README.md;
tar -caf RhinoReminds-Debug.tar.gz RhinoReminds-Debug;
tar -caf RhinoReminds-Release.tar.gz RhinoReminds-Release;
execute tar -caf RhinoReminds-Debug.tar.gz RhinoReminds-Debug;
execute tar -caf RhinoReminds-Release.tar.gz RhinoReminds-Release;
rm -r RhinoReminds-{Debug,Release};
execute rm -r RhinoReminds-{Debug,Release};
task_end $?;
if [ "${ARCHIVE}" != "" ]; then
task_begin "CI environment detected - moving archives to specified CI archive directory";
mv RhinoReminds-{Debug,Release}.tar.gz "${ARCHIVE}";
execute mv RhinoReminds-{Debug,Release}.tar.gz "${ARCHIVE}";
task_end $?;
fi