diff options
author | xengineering <me@xengineering.eu> | 2024-03-24 21:07:44 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-03-24 21:12:56 +0100 |
commit | 820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8 (patch) | |
tree | 3bd344625e592fc6adc9b949a894116421307bb4 /Makefile | |
parent | ce3a2dd68707c5c744aa019417baa12f1dab96e4 (diff) | |
download | webiot-820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8.tar webiot-820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8.tar.zst webiot-820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8.zip |
Replace appdata completely by embed package
The embed package makes it useless to handle static files from the
source tree during runtime. All those files go simply to the embed.FS
variable and are thus embedded into the binary which is easier to
handle.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -16,7 +16,6 @@ clean: install: all install -Dm 755 build/$(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM) install -Dm 644 config/default.json $(DESTDIR)/etc/$(PROGRAM)/config.json - install -Dm 644 appdata/index.html.tmpl $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/index.html.tmpl debug: - go run *.go -c config/example.json -a appdata + go run *.go -c config/example.json |