Skip to content

Commit

Permalink
contrib: Add script to build a Flatpak bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ikolomiko committed Dec 11, 2023
1 parent 60c74a4 commit 3805d21
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions contrib/build-flatpak.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env sh
set -e
SECONDS=0

repo_root="$(realpath $(dirname "$0")/..)"
mkdir -p "$repo_root/build"
cd "$repo_root/build"

echo $repo_root
flatpak-builder flatpak-build "$repo_root/contrib/flatpak-manifest.json" --force-clean
flatpak build-export gridcoin-flatpak flatpak-build
flatpak build-bundle gridcoin-flatpak Gridcoin-Research.flatpak us.gridcoin.Gridcoin-Research

echo "Took $SECONDS seconds to build the Flatpak bundle."

0 comments on commit 3805d21

Please sign in to comment.