File indexing completed on 2021-12-21 13:58:14

0001 #!/bin/bash
0002 
0003 FILE=$1
0004 
0005 shift
0006 
0007 ID=
0008 JSON=
0009 GITURL=
0010 GITBRANCH=master
0011 
0012 . ./$FILE
0013 
0014 if [ x$ID == x ]; then
0015     echo invalid app
0016     exit 1
0017 fi
0018 
0019 GIT_ARGS=""
0020 if [ x$GITURL != x ]; then
0021     GIT_ARGS="--from-git=$GITURL --from-git-branch=$GITBRANCH"
0022 fi
0023 
0024 flatpak-builder --force-clean --ccache --repo=repo --subject="Build of ${ID}, `date`" ${EXPORT_ARGS-} ${GIT_ARGS-} ${ARGS} "$@" app $JSON