5 changed files with 1764 additions and 17 deletions
@ -1,17 +1,22 @@
|
||||
LESS := $(shell npm bin)/lessc
|
||||
ROLLUP := $(shell npm bin)/rollup
|
||||
APP := app
|
||||
CSS := $(APP)/cyp.css
|
||||
JS := $(APP)/cyp.js
|
||||
ICONS := $(APP)/js/icons.js
|
||||
SYSD_USER := ~/.config/systemd/user
|
||||
SERVICE := cyp.service
|
||||
|
||||
all: $(CSS) |
||||
all: $(CSS) $(JS) |
||||
|
||||
icons: $(ICONS) |
||||
|
||||
$(ICONS): $(APP)/icons/* |
||||
$(APP)/svg2js.sh $(APP)/icons > [email protected]
|
||||
|
||||
$(JS): $(APP)/js/* $(APP)/js/elements/* |
||||
$(ROLLUP) -i $(APP)/js/cyp.js > [email protected]
|
||||
|
||||
$(CSS): $(APP)/css/* $(APP)/css/elements/* |
||||
$(LESS) -x $(APP)/css/cyp.less > [email protected]
|
||||
|
||||
@ -25,7 +30,7 @@ watch: all
|
||||
while inotifywait -e MODIFY -r $(APP)/css $(APP)/js ; do make $^ ; done
|
||||
|
||||
clean: |
||||
rm -f $(SERVICE) $(CSS)
|
||||
rm -f $(SERVICE) $(CSS) $(JS)
|
||||
|
||||
docker-image: |
||||
docker build -t cyp .
|
||||
|
@ -0,0 +1,13 @@
|
||||
import "./elements/range.js"; |
||||
import "./elements/app.js"; |
||||
import "./elements/menu.js"; |
||||
import "./elements/player.js"; |
||||
import "./elements/queue.js"; |
||||
import "./elements/playlists.js"; |
||||
import "./elements/settings.js"; |
||||
import "./elements/yt.js"; |
||||
import "./elements/song.js"; |
||||
import "./elements/library.js"; |
||||
import "./elements/tag.js"; |
||||
import "./elements/back.js"; |
||||
import "./elements/path.js"; |
Loading…
Reference in new issue