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

Add new script to build everything that is not up to date

This commit is contained in:
Reinhard Müller
2020-05-16 21:37:39 +02:00
parent 294a2ff8b0
commit 0953ce99bb

19
fsfe-build.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# =============================================================================
# Start a build of the fsfe-website checkout in the current working directory
# =============================================================================
# SPDX-FileCopyrightText: © 2020 Reinhard Müller <reinhard@fsfe.org>
# SPDX-License-Identifier: WTFPL
# =============================================================================
set -e
# Find out fsfe-website directory
gitdir="$(git rev-parse --show-toplevel)"
# Find out fsfe-local-build directory
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"