diff --git a/build b/build index 5abf787..b416248 100755 --- a/build +++ b/build @@ -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;