wisski-cloud-distillery/Makefile
Tom 1c68893a02 api: Cleanup websocket protocol
This commit cleans up the websocket protocol to be in line with the
documentation.
2023-07-13 23:24:11 +02:00

24 lines
No EOL
547 B
Makefile

.PHONY: clean all deps live tslint tsfix
live:
sudo CGO_ENABLED=0 go run ./cmd/wdcli $(ARGS)
all: wdcli
wdcli:
go generate ./internal/dis/component/control/static/
CGO_ENABLED=0 go build -o ./wdcli ./cmd/wdcli
tslint:
cd internal/dis/component/server/assets/ && yarn ts-standard
tsfix:
cd internal/dis/component/server/assets/ && yarn ts-standard --fix
deps: internal/dis/component/server/assets/node_modules
internal/dis/component/server/assets/node_modules:
cd internal/dis/component/server/assets/ && yarn install
clean:
rm wdcli