mirror of https://github.com/GNOME/gimp.git
build/linux: Add way to locally emulate flatpak CI building
This is useful to debugging only
This commit is contained in:
parent
f23b0744d7
commit
a1cb43d977
|
@ -4,7 +4,7 @@
|
|||
ARCH=$(uname -m)
|
||||
|
||||
|
||||
if [ -z "$GITLAB_CI" ]; then
|
||||
if [ -z "$GITLAB_CI" ] && [ "$1" != '--ci' ]; then
|
||||
# Make the script work locally
|
||||
if [ "$0" != 'build/linux/flatpak/2_build-gimp-flatpak.sh' ]; then
|
||||
echo 'To run this script locally, please do it from to the gimp git folder'
|
||||
|
@ -29,7 +29,7 @@ if [ -z "$GITLAB_CI" ]; then
|
|||
flatpak-builder --run "$GIMP_PREFIX" ../build/linux/flatpak/org.gimp.GIMP-nightly.json.in ninja install
|
||||
|
||||
|
||||
else
|
||||
elif [ "$GITLAB_CI" ] || [ "$1" = '--ci' ]; then
|
||||
export GIMP_PREFIX="$PWD/_install-$ARCH"
|
||||
|
||||
# Configure manifest (ugly but works on CI)
|
||||
|
|
Loading…
Reference in New Issue