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
|
||||
CONTAINER = miniflux
|
||||
IMAGE = miniflux/miniflux
|
||||
@ -15,11 +22,16 @@ docker-destroy:
|
||||
docker-run:
|
||||
@ docker run --rm --name $(CONTAINER) -P $(IMAGE):$(TAG)
|
||||
|
||||
js:
|
||||
@ rm -f ${JS_FILE}
|
||||
@ echo "/* AUTO GENERATED FILE, DO NOT MODIFY THIS FILE, USE 'make js' */" > ${JS_FILE}
|
||||
@ cat assets/js/app.js assets/js/feed.js assets/js/item.js assets/js/event.js assets/js/nav.js >> ${JS_FILE}
|
||||
@ echo "Miniflux.App.Run();" >> ${JS_FILE}
|
||||
js: $(JS_FILE)
|
||||
|
||||
$(JS_FILE): assets/js/app.js \
|
||||
assets/js/feed.js \
|
||||
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
|
||||
archive:
|
||||
|
Loading…
Reference in New Issue
Block a user