aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-08-16 22:00:32 -0500
committerBeatLink <beatlink@protonmail.com>2019-08-16 22:00:32 -0500
commit088d2f7727fd1c88b75bec370d9131e0bbd1e432 (patch)
tree32bf0a9bcccfd7b47478fdd3b48e235021f83700 /build.sh
parentMove other platforms to own repo (diff)
downloadlibrewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.tar.gz
librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.tar.bz2
librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.zip
move linux files to top level
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..850e8ad
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+printf "\n------------------------------------- SCRIPT SETUP ------------------------------------------\n";
+
+# Aborts the script upon any faliure
+set -e;
+
+# Sets up script variables
+SCRIPT_FOLDER=$(realpath $(dirname $0));
+REPOSITORY_FOLDER=$(realpath $SCRIPT_FOLDER/../../);
+BINARY_TARBALL=$REPOSITORY_FOLDER/LibreWolf.tar.bz2;
+APPIMAGE_FILE=$REPOSITORY_FOLDER/LibreWolf.AppImage;
+FLATPAK_REPO=$REPOSITORY_FOLDER/librewolf-flatpak-repo;
+FLATPAK_BUNDLE=$REPOSITORY_FOLDER/LibreWolf.flatpak;
+
+$SCRIPT_FOLDER/binary_tarball/build_tarball.sh $BINARY_TARBALL;
+$SCRIPT_FOLDER/appimage/build_appimage.sh $BINARY_TARBALL $APPIMAGE_FILE;
+$SCRIPT_FOLDER/flatpak/build_flatpak.sh $BINARY_TARBALL $FLATPAK_REPO $FLATPAK_BUNDLE;
+
+
+
bgstack15