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

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

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;