Files
qelectrotech-source-mirror/build-aux/linux/appimage/makeall.sh
T
2026-10-25 15:44:21 +01:00

31 lines
902 B
Bash
Executable File

#!/bin/bash
# Build the whole QElectroTech AppImage bundle from scratch.
#
# Adapted from the digiKam AppImage scripts by Gilles Caulier.
# Copyright (c) 2015-2019, Gilles Caulier, <caulier dot gilles at gmail dot com>
# Copyright (c) 2026, The QElectroTech Team
#
# Redistribution and use is allowed according to the terms of the BSD license.
# Halt and catch errors
set -eE
trap 'PREVIOUS_COMMAND=$THIS_COMMAND; THIS_COMMAND=$BASH_COMMAND' DEBUG
trap 'echo "FAILED COMMAND: $PREVIOUS_COMMAND"' ERR
. ./config.sh
. ./common.sh
StartScript
ChecksNotRoot
echo "This script will build from scratch the QElectroTech AppImage bundle for Linux."
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
./01-build-host.sh
./02-build-qet.sh
./03-build-appimage.sh
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
TerminateScript