mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-11 08:46:34 +01:00
Build: Add script for packaging this extension
This commit is contained in:
parent
aba4d06f73
commit
cc2098b597
2 changed files with 12 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
top-bar-organizer@julian.gse.jsts.xyz.zip
|
||||||
|
|
|
||||||
11
package.sh
Executable file
11
package.sh
Executable file
|
|
@ -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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue