Skip to content

Commit 18243a2

Browse files
committed
release: 1.0.0
1 parent 137821c commit 18243a2

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Retrieve the UUID from ``metadata.json``
22
UUID = $(shell grep -E '^[ ]*"uuid":' ./metadata.json | sed 's@^[ ]*"uuid":[ ]*"\(.\+\)",[ ]*@\1@')
3+
VERSION = $(shell grep version tsconfig.json | awk -F\" '{print $$4}')
34

45
ifeq ($(XDG_DATA_HOME),)
56
XDG_DATA_HOME = $(HOME)/.local/share
@@ -33,6 +34,9 @@ transpile: $(sources) clean
3334
configure:
3435
sh scripts/configure.sh
3536

37+
convert: transpile
38+
sh scripts/transpile.sh
39+
3640
compile: convert metadata.json schemas
3741
rm -rf _build
3842
mkdir -p _build
@@ -42,9 +46,6 @@ compile: convert metadata.json schemas
4246
cp -r target/$${proj}/*.js _build/$${proj}; \
4347
done
4448

45-
convert: transpile
46-
sh scripts/transpile.sh
47-
4849
# Rebuild, install, reconfigure local settings, restart shell, and listen to journalctl logs
4950
debug: depcheck compile install configure enable restart-shell listen
5051

@@ -95,4 +96,5 @@ schemas/gschemas.compiled: schemas/*.gschema.xml
9596
glib-compile-schemas schemas
9697

9798
zip-file: all
98-
cd _build && zip -qr "../$(UUID)$(VSTRING).zip" .
99+
cd _build && zip -qr "../$(UUID)_$(VERSION).zip" .
100+

metadata.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "Pop Shell",
33
"description": "Pop Shell",
4+
"version": 1,
45
"uuid": "[email protected]",
56
"settings-schema": "org.gnome.shell.extensions.pop-shell",
6-
"shell-version": ["3.36"]
7-
}
7+
"shell-version": [
8+
"3.36"
9+
]
10+
}

tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
2+
"version": "1.0.0",
23
"compileOnSave": true,
34
"compilerOptions": {
45
"target": "es2015",
56
"strict": true,
67
"outDir": "./target",
78
"forceConsistentCasingInFileNames": true,
89
"downlevelIteration": true,
9-
"lib": [ "es2015" ],
10+
"lib": [
11+
"es2015"
12+
],
1013
"pretty": true,
1114
"sourceMap": true,
1215
"declaration": true,
@@ -18,4 +21,4 @@
1821
"include": [
1922
"src/*.ts"
2023
]
21-
}
24+
}

0 commit comments

Comments
 (0)