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 .
All checks were successful
continuous-integration/laminar-elessar Build 63 succeeded in 48 seconds .
This commit is contained in:
parent
39420d70d5
commit
c3908ec2c7
1 changed files with 13 additions and 0 deletions
13
build
13
build
|
@ -40,6 +40,7 @@ if [[ "$#" -lt 1 ]]; then
|
||||||
echo -e " ${CACTION}setup${RS} - Perform initial setup";
|
echo -e " ${CACTION}setup${RS} - Perform initial setup";
|
||||||
echo -e " ${CACTION}build${RS} - Restore nuget packages & compile project";
|
echo -e " ${CACTION}build${RS} - Restore nuget packages & compile project";
|
||||||
echo -e " ${CACTION}ci${RS} - Perform CI tasks";
|
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 " ${CACTION}archive${RS} - Construct binary archives";
|
||||||
echo -e "";
|
echo -e "";
|
||||||
|
|
||||||
|
@ -127,6 +128,18 @@ function task_archive {
|
||||||
fi
|
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 {
|
function task_ci {
|
||||||
tasks_run setup;
|
tasks_run setup;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue