diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-05-28 15:20:46 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-05-28 15:20:46 +0200 |
| commit | f9a9fa15d6d61eb9730183193ce8af29bdfc17e7 (patch) | |
| tree | c3b96a36623e52f22d281b518d7136795cf82b8a /cockpit/Makefile | |
| download | bycs-sol-f9a9fa15d6d61eb9730183193ce8af29bdfc17e7.tar.gz bycs-sol-f9a9fa15d6d61eb9730183193ce8af29bdfc17e7.zip | |
cockpit: initial commit
Diffstat (limited to 'cockpit/Makefile')
| -rw-r--r-- | cockpit/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
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) |
