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:
19
fsfe-build.sh
Executable file
19
fsfe-build.sh
Executable 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"
|
||||
Reference in New Issue
Block a user