1
0
mirror of https://git.fsfe.org/FSFE/fsfe-local-build.git synced 2026-04-18 10:23:05 +02:00

Add --full option for fsfe-build.sh

This commit is contained in:
Reinhard Müller
2021-02-18 22:25:54 +01:00
parent 65aa5a10a4
commit d625a6e2fa

View File

@@ -2,7 +2,7 @@
# =============================================================================
# Start a build of the fsfe-website checkout in the current working directory
# =============================================================================
# SPDX-FileCopyrightText: © 2020 Reinhard Müller <reinhard@fsfe.org>
# SPDX-FileCopyrightText: © 2020, 2021 Reinhard Müller <reinhard@fsfe.org>
# SPDX-License-Identifier: WTFPL
# =============================================================================
@@ -16,4 +16,11 @@ builddir="$(dirname "$(readlink -f "$0")")"
# Start the build
echo "Building from ${gitdir} into ${builddir}/fsfe.org"
"${gitdir}/build/build_main.sh" build_run "${builddir}/fsfe.org" --statusdir "${builddir}/status"
case "$1" in
--full|-f)
"${gitdir}/build/build_main.sh" build_into "${builddir}/fsfe.org" --statusdir "${builddir}/status"
;;
*)
"${gitdir}/build/build_main.sh" build_run "${builddir}/fsfe.org" --statusdir "${builddir}/status"
;;
esac