Commit d5c94c64 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Support building files from git

This is a change similar to the one on master
parent 7466edfd
......@@ -2,7 +2,24 @@
FILE=$1
APPID=`basename $FILE .json`
shift
echo ========== Building $APPID ================
flatpak-builder --force-clean --ccache --require-changes --repo=repo --subject="Stable build of ${APPID}, `date`" ${EXPORT_ARGS-} app $FILE
ID=
JSON=
GITURL=
GITBRANCH=master
. ./$FILE
if [ x$ID == x ]; then
echo invalid app
exit 1
fi
GIT_ARGS=""
if [ x$GITURL != x ]; then
GIT_ARGS="--from-git=$GITURL --from-git-branch=$GITBRANCH"
fi
echo ========== Building $ID ================
flatpak-builder --force-clean --ccache --require-changes --repo=repo --subject="Build of ${ID}, `date`" ${EXPORT_ARGS-} ${GIT_ARGS-} "$@" app $JSON
#!/bin/bash
for i in *.json; do
./build.sh $i
for i in *.app; do
./build.sh $i "$@"
done
./build_update_repo.sh
ID=org.gnome.Builder
JSON=org.gnome.Builder.json
ID=org.gnome.Calculator
JSON=org.gnome.Calculator.json
ID=org.gnome.Calendar
JSON=org.gnome.Calendar.json
ID=org.gnome.Characters
JSON=org.gnome.Characters.json
ID=org.gnome.Dictionary
JSON=org.gnome.Dictionary.json
ID=org.gnome.Documents
JSON=org.gnome.Documents.json
ID=org.gnome.Epiphany
JSON=org.gnome.Epiphany.json
ID=org.gnome.Evince
JSON=org.gnome.Evince.json
ID=org.gnome.Geary
JSON=org.gnome.Geary.json
ID=org.gnome.Maps
JSON=org.gnome.Maps.json
ID=org.gnome.Polari
JSON=org.gnome.Polari.json
ID=org.gnome.Rhythmbox3
JSON=org.gnome.Rhythmbox3.json
ID=org.gnome.Todo
JSON=org.gnome.Todo.json
ID=org.gnome.Weather
JSON=org.gnome.Weather.json
ID=org.gnome.bijiben
JSON=org.gnome.bijiben.json
ID=org.gnome.clocks
JSON=org.gnome.clocks.json
ID=org.gnome.eog
JSON=org.gnome.eog.json
ID=org.gnome.gedit
JSON=org.gnome.gedit.json
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment