Add more debugging statements to try & figure out what's going wrong
This commit is contained in:
parent
22c2212952
commit
7a5a43f9a2
1 changed files with 12 additions and 12 deletions
24
build
24
build
|
@ -71,33 +71,33 @@ function task_build {
|
||||||
|
|
||||||
function task_archive {
|
function task_archive {
|
||||||
task_begin "Deleting extra files";
|
task_begin "Deleting extra files";
|
||||||
find RhinoReminds/bin -iname "*.xml" -delete;
|
execute find RhinoReminds/bin -iname "*.xml" -delete;
|
||||||
task_end $?;
|
task_end $?;
|
||||||
|
|
||||||
task_begin "Setting permissions";
|
task_begin "Setting permissions";
|
||||||
find RhinoReminds/bin -type f -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 +x;
|
find RhinoReminds/bin -type f -iname "*.exe" -print0 | xargs -0 -P4 chmod +cx;
|
||||||
task_end $?;
|
task_end $?;
|
||||||
|
|
||||||
pwd
|
pwd
|
||||||
ls -l
|
ls -lR
|
||||||
|
|
||||||
task_begin "Creating Archives";
|
task_begin "Creating Archives";
|
||||||
cp -ral RhinoReminds/bin/Debug RhinoReminds-Debug;
|
execute cp -ral RhinoReminds/bin/Debug RhinoReminds-Debug;
|
||||||
cp -ral RhinoReminds/bin/Release RhinoReminds-Release;
|
execute cp -ral RhinoReminds/bin/Release RhinoReminds-Release;
|
||||||
cp -al README.md RhinoReminds-Debug/README.md;
|
execute cp -al README.md RhinoReminds-Debug/README.md;
|
||||||
cp -al README.md RhinoReminds-Release/README.md;
|
execute cp -al README.md RhinoReminds-Release/README.md;
|
||||||
|
|
||||||
tar -caf RhinoReminds-Debug.tar.gz RhinoReminds-Debug;
|
execute tar -caf RhinoReminds-Debug.tar.gz RhinoReminds-Debug;
|
||||||
tar -caf RhinoReminds-Release.tar.gz RhinoReminds-Release;
|
execute tar -caf RhinoReminds-Release.tar.gz RhinoReminds-Release;
|
||||||
|
|
||||||
rm -r RhinoReminds-{Debug,Release};
|
execute rm -r RhinoReminds-{Debug,Release};
|
||||||
task_end $?;
|
task_end $?;
|
||||||
|
|
||||||
if [ "${ARCHIVE}" != "" ]; then
|
if [ "${ARCHIVE}" != "" ]; then
|
||||||
task_begin "CI environment detected - moving archives to specified CI archive directory";
|
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 $?;
|
task_end $?;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue