Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Rename folder with sources to src
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Sep 30, 2018
1 parent 18dc59c commit b95050f
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -4,7 +4,7 @@ node_js:

script:
- npm install eslint prettier
- ./node_modules/.bin/eslint workspace-grid@mathematical.coffee.gmail.com/*.js
- ./node_modules/.bin/eslint src/*.js
- ./node_modules/.bin/prettier -l .travis.yml Readme.md
- make dev-zip
before_deploy:
Expand Down
17 changes: 9 additions & 8 deletions Makefile
Expand Up @@ -3,24 +3,25 @@ UUID=workspace-grid@mathematical.coffee.gmail.com
FILES=metadata.json *.js stylesheet.css schemas *.svg *.png
#=============================================================================
default_target: all
.PHONY: clean all zip
.PHONY: clean all zip install dev-zip

clean:
rm -f $(UUID).zip $(UUID)/schemas/gschemas.compiled
rm -f $(UUID).zip src/schemas/gschemas.compiled

# compile the schemas
schemas:
@if [ -d $(UUID)/schemas ]; then \
glib-compile-schemas $(UUID)/schemas; \
@if [ -d src/schemas ]; then \
glib-compile-schemas src/schemas; \
fi

zip: schemas
zip -rq $(UUID).zip $(FILES:%=$(UUID)/%)
zip -rq $(UUID).zip $(FILES:%=src/%)

dev-zip: schemas
(cd $(UUID); \
(cd src; \
zip -rq ../$(UUID).zip $(FILES))

install: schemas
yes | \cp -r $(UUID) ~/.local/share/gnome-shell/extensions/
gnome-shell-extension-tool -r workspace-grid@mathematical.coffee.gmail.com
mkdir -p ~/.local/share/gnome-shell/extensions/$(UUID)
yes | \cp -r src/* ~/.local/share/gnome-shell/extensions/$(UUID)/
gnome-shell-extension-tool -r $(UUID)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b95050f

Please sign in to comment.