diff --git a/.gitignore b/.gitignore index 0e43016..eb99e38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /node_modules/ gschemas.compiled +top-bar-organizer@julian.gse.jsts.xyz.zip diff --git a/package.sh b/package.sh new file mode 100755 index 0000000..bc05fc0 --- /dev/null +++ b/package.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +REAL_BASE_DIR=$( dirname $( readlink -f "$0" )) + +glib-compile-schemas "$REAL_BASE_DIR/src/schemas" +rm "$REAL_BASE_DIR/top-bar-organizer@julian.gse.jsts.xyz.zip" || true +cd "$REAL_BASE_DIR/src" +zip -r "$REAL_BASE_DIR/top-bar-organizer@julian.gse.jsts.xyz.zip" * +zip -d "$REAL_BASE_DIR/top-bar-organizer@julian.gse.jsts.xyz.zip" "schemas/org.gnome.shell.extensions.top-bar-organizer.gschema.xml"