Initial commit
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
BUNDLE_PATH = "nightscout-follower@treehouse.org.za.zip"
|
||||
EXTENSION_DIR = "nightscout-follower@treehouse.org.za"
|
||||
|
||||
all: build install
|
||||
|
||||
.PHONY: build install clean translations lint lint-fix
|
||||
|
||||
build:
|
||||
rm -f $(BUNDLE_PATH)
|
||||
cd $(EXTENSION_DIR); \
|
||||
gnome-extensions pack --force --podir=locale \
|
||||
--extra-source=icons/; \
|
||||
mv $(EXTENSION_DIR).shell-extension.zip ../$(BUNDLE_PATH)
|
||||
|
||||
install:
|
||||
gnome-extensions install $(BUNDLE_PATH) --force
|
||||
|
||||
clean:
|
||||
@rm -fv $(BUNDLE_PATH)
|
||||
@rm -fv $(EXTENSION_DIR)/schemas/gschemas.compiled
|
||||
|
||||
translations:
|
||||
@./update-locale.sh
|
Reference in New Issue
Block a user