File: build.sh

package info (click to toggle)
gnome-shell-extension-show-ip 8-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 512 kB
  • sloc: xml: 29; makefile: 11; sh: 10
file content (13 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
# Build Show-IP GNOME shell extension

echo "Compile schema"
glib-compile-schemas ./schemas/

echo "Compile French locale (po to mo)"
msgfmt locale/fr/LC_MESSAGES/show-ip.po -o locale/fr/LC_MESSAGES/show-ip.mo

echo "Create zip archive"
rm show-ip@sgaraud.github.com.zip
zip -r show-ip@sgaraud.github.com.zip . -x \*.git* \*.idea*
echo "Done."