aboutsummaryrefslogtreecommitdiff
path: root/browser/linux/build.sh
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-07-26 00:16:56 -0500
committerBeatLink <beatlink@protonmail.com>2019-07-26 00:16:56 -0500
commit83f3b6604b4954d8a2813cb4dc1106fef828d6b1 (patch)
tree82357ceddeb7438f8987cbea0eb603caa27f1105 /browser/linux/build.sh
parentfix ci/cd (diff)
downloadlibrewolf-linux-83f3b6604b4954d8a2813cb4dc1106fef828d6b1.tar.gz
librewolf-linux-83f3b6604b4954d8a2813cb4dc1106fef828d6b1.tar.bz2
librewolf-linux-83f3b6604b4954d8a2813cb4dc1106fef828d6b1.zip
Simplify and compartmentalise scripts, separate packaging into gitlab jobs
Diffstat (limited to 'browser/linux/build.sh')
-rwxr-xr-xbrowser/linux/build.sh17
1 files changed, 3 insertions, 14 deletions
diff --git a/browser/linux/build.sh b/browser/linux/build.sh
index e7ea79d..850e8ad 100755
--- a/browser/linux/build.sh
+++ b/browser/linux/build.sh
@@ -7,25 +7,14 @@ set -e;
# Sets up script variables
SCRIPT_FOLDER=$(realpath $(dirname $0));
REPOSITORY_FOLDER=$(realpath $SCRIPT_FOLDER/../../);
-BINARY_TARBALL_SOURCE_FOLDER=$SCRIPT_FOLDER/compile;
-BINARY_TARBALL_SOURCE_CONTENT_FOLDER=$REPOSITORY_FOLDER/browser/common/source_files/;
-BINARY_TARBALL_SETTINGS_FOLDER=$REPOSITORY_FOLDER/settings;
-BINARY_TARBALL_LAUNCH_SCRIPT=$SCRIPT_FOLDER/binary_tarball/content/launch_librewolf.sh;
BINARY_TARBALL=$REPOSITORY_FOLDER/LibreWolf.tar.bz2;
-APPIMAGE_CONTENT=$SCRIPT_FOLDER/appimage/content;
APPIMAGE_FILE=$REPOSITORY_FOLDER/LibreWolf.AppImage;
-FLATPAK_JSON_FILE=$SCRIPT_FOLDER/flatpak/content/io.gitlab.LibreWolf.json;
FLATPAK_REPO=$REPOSITORY_FOLDER/librewolf-flatpak-repo;
FLATPAK_BUNDLE=$REPOSITORY_FOLDER/LibreWolf.flatpak;
-# Executes the build
-$SCRIPT_FOLDER/binary_tarball/scripts/1_Install_Dependencies.sh;
-$SCRIPT_FOLDER/binary_tarball/scripts/2_Download_Source_Code.sh $BINARY_TARBALL_SOURCE_FOLDER;
-$SCRIPT_FOLDER/binary_tarball/scripts/3_Configure_Source_Code.sh $BINARY_TARBALL_SOURCE_FOLDER $BINARY_TARBALL_SOURCE_CONTENT_FOLDER;
-$SCRIPT_FOLDER/binary_tarball/scripts/4_Build_Binary_Tarball.sh $BINARY_TARBALL_SOURCE_FOLDER $BINARY_TARBALL;
-$SCRIPT_FOLDER/binary_tarball/scripts/5_Configure_Binary_Tarball.sh $BINARY_TARBALL $BINARY_TARBALL_SETTINGS_FOLDER $BINARY_TARBALL_LAUNCH_SCRIPT;
-$SCRIPT_FOLDER/appimage/build_appimage.sh $BINARY_TARBALL $APPIMAGE_CONTENT $APPIMAGE_FILE;
-$SCRIPT_FOLDER/flatpak/build_flatpak.sh $BINARY_TARBALL $FLATPAK_JSON_FILE $FLATPAK_REPO $FLATPAK_BUNDLE;
+$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