From f9a9fa15d6d61eb9730183193ce8af29bdfc17e7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 28 May 2026 15:20:46 +0200 Subject: cockpit: initial commit --- cockpit/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cockpit/Makefile (limited to 'cockpit/Makefile') diff --git a/cockpit/Makefile b/cockpit/Makefile new file mode 100644 index 0000000..ca7194a --- /dev/null +++ b/cockpit/Makefile @@ -0,0 +1,18 @@ +dist/index.html: cockpit.html cockpit.css dist/main.js + echo | pandoc --template cockpit.html --embed-resources --standalone > $@ + +dist/main.js: $(wildcard js/*.js) + $(MAKE) dev + +.PHONY: mock dev prod +mock: + npm run build:mock + $(MAKE) + +dev: + npm run build:dev + $(MAKE) + +prod: + npm run build + $(MAKE) -- cgit v1.2.3