commit
1d2c1b514e
22
Makefile
22
Makefile
@ -1,3 +1,10 @@
|
|||||||
|
.PHONY: docker-image
|
||||||
|
.PHONY: docker-push
|
||||||
|
.PHONY: docker-destroy
|
||||||
|
.PHONY: docker-run
|
||||||
|
.PHONY: archive
|
||||||
|
.PHONY: js
|
||||||
|
|
||||||
JS_FILE = assets/js/all.js
|
JS_FILE = assets/js/all.js
|
||||||
CONTAINER = miniflux
|
CONTAINER = miniflux
|
||||||
IMAGE = miniflux/miniflux
|
IMAGE = miniflux/miniflux
|
||||||
@ -15,11 +22,16 @@ docker-destroy:
|
|||||||
docker-run:
|
docker-run:
|
||||||
@ docker run --rm --name $(CONTAINER) -P $(IMAGE):$(TAG)
|
@ docker run --rm --name $(CONTAINER) -P $(IMAGE):$(TAG)
|
||||||
|
|
||||||
js:
|
js: $(JS_FILE)
|
||||||
@ rm -f ${JS_FILE}
|
|
||||||
@ echo "/* AUTO GENERATED FILE, DO NOT MODIFY THIS FILE, USE 'make js' */" > ${JS_FILE}
|
$(JS_FILE): assets/js/app.js \
|
||||||
@ cat assets/js/app.js assets/js/feed.js assets/js/item.js assets/js/event.js assets/js/nav.js >> ${JS_FILE}
|
assets/js/feed.js \
|
||||||
@ echo "Miniflux.App.Run();" >> ${JS_FILE}
|
assets/js/item.js \
|
||||||
|
assets/js/event.js \
|
||||||
|
assets/js/nav.js
|
||||||
|
@ echo "/* AUTO GENERATED FILE, DO NOT MODIFY THIS FILE, USE 'make js' */" > $@
|
||||||
|
@ cat $^ >> $@
|
||||||
|
@ echo "Miniflux.App.Run();" >> $@
|
||||||
|
|
||||||
# Build a new archive: make archive version=1.2.3 dst=/tmp
|
# Build a new archive: make archive version=1.2.3 dst=/tmp
|
||||||
archive:
|
archive:
|
||||||
|
Loading…
Reference in New Issue
Block a user