Browse Source

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

master
Starbeamrainbowlabs 4 years ago
parent
commit
7a5a43f9a2
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 24
      build

24
build

@ -71,33 +71,33 @@ function task_build { @@ -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

Loading…
Cancel
Save