Rework step options handling

This commit is contained in:
2022-12-12 11:16:26 +01:00
parent 44ae559918
commit 1f431daa16
30 changed files with 120 additions and 120 deletions

View File

@@ -239,7 +239,8 @@ step_50() {
NOTES_END
}
step_60_info() { echoinfoArgs "[VERSION]"; echo "Build and install from source"; }
step_60_info() { echo "Build and install from source"; }
step_60_options() { echo "[VERSION]"; }
step_60_alias() { echo "buildlocal"; }
step_60() {
shift
@@ -298,13 +299,15 @@ step_62() {
exe systemctl daemon-reload
}
step_64_info() { echoinfoArgs "[VERSION]"; echo "Install build dependencies for .deb build"; }
step_64_info() { echo "Install build dependencies for .deb build"; }
step_64_options() { echo "[VERSION]"; }
step_64_alias() { echo "builddeb"; }
step_64() {
exe apt install cmake ragel pkg-config libglib2.0-dev libsqlite3-dev libicu-dev libmagic-dev libssl-dev libsodium-dev redis libjemalloc-dev libcurl4-openssl-dev liblua5.1-0-dev libunwind-dev liblua5.1-0-dev
}
step_65_info() { echoinfoArgs "[VERSION]"; echo "Build .deb from source"; }
step_65_info() { echo "Build .deb from source"; }
step_65_options() { echo "[VERSION]"; }
step_65() {
shift
local version="${1:-"${knownVersion}"}"