Start writing package build task, but it's not finished yet
continuous-integration/laminar-elessar Build 63 succeeded in 48 seconds . Details

This commit is contained in:
Starbeamrainbowlabs 2019-02-17 23:35:06 +00:00
parent 39420d70d5
commit c3908ec2c7
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 13 additions and 0 deletions

13
build
View File

@ -40,6 +40,7 @@ if [[ "$#" -lt 1 ]]; then
echo -e " ${CACTION}setup${RS} - Perform initial setup";
echo -e " ${CACTION}build${RS} - Restore nuget packages & compile project";
echo -e " ${CACTION}ci${RS} - Perform CI tasks";
echo -e " ${CACTION}package${RS} - Pack latest build for package managers";
echo -e " ${CACTION}archive${RS} - Construct binary archives";
echo -e "";
@ -127,6 +128,18 @@ function task_archive {
fi
}
function task_package {
task_begin "Preparing for packaging";
check_command fpm true;
package_dir="$(mktemp -d --suffix "-rhinoreminds-ci-fpm-package")";
echo "Error: Not implemented yet :-/";
exit 1;
task_end $?;
}
function task_ci {
tasks_run setup;