Skip to content

Commit

Permalink
release: 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Oct 29, 2020
1 parent 137821c commit 18243a2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Retrieve the UUID from ``metadata.json``
UUID = $(shell grep -E '^[ ]*"uuid":' ./metadata.json | sed 's@^[ ]*"uuid":[ ]*"\(.\+\)",[ ]*@\1@')
VERSION = $(shell grep version tsconfig.json | awk -F\" '{print $$4}')

ifeq ($(XDG_DATA_HOME),)
XDG_DATA_HOME = $(HOME)/.local/share
Expand Down Expand Up @@ -33,6 +34,9 @@ transpile: $(sources) clean
configure:
sh scripts/configure.sh

convert: transpile
sh scripts/transpile.sh

compile: convert metadata.json schemas
rm -rf _build
mkdir -p _build
Expand All @@ -42,9 +46,6 @@ compile: convert metadata.json schemas
cp -r target/$${proj}/*.js _build/$${proj}; \
done

convert: transpile
sh scripts/transpile.sh

# Rebuild, install, reconfigure local settings, restart shell, and listen to journalctl logs
debug: depcheck compile install configure enable restart-shell listen

Expand Down Expand Up @@ -95,4 +96,5 @@ schemas/gschemas.compiled: schemas/*.gschema.xml
glib-compile-schemas schemas

zip-file: all
cd _build && zip -qr "../$(UUID)$(VSTRING).zip" .
cd _build && zip -qr "../$(UUID)_$(VERSION).zip" .

7 changes: 5 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "Pop Shell",
"description": "Pop Shell",
"version": 1,
"uuid": "[email protected]",
"settings-schema": "org.gnome.shell.extensions.pop-shell",
"shell-version": ["3.36"]
}
"shell-version": [
"3.36"
]
}
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"version": "1.0.0",
"compileOnSave": true,
"compilerOptions": {
"target": "es2015",
"strict": true,
"outDir": "./target",
"forceConsistentCasingInFileNames": true,
"downlevelIteration": true,
"lib": [ "es2015" ],
"lib": [
"es2015"
],
"pretty": true,
"sourceMap": true,
"declaration": true,
Expand All @@ -18,4 +21,4 @@
"include": [
"src/*.ts"
]
}
}

0 comments on commit 18243a2

Please sign in to comment.