teldrive/Makefile

16 lines
288 B
Makefile
Raw Normal View History

2023-09-08 18:37:11 +08:00
.PHONY: pre-ui
pre-ui:
cd ui/teldrive-ui && npm ci
.PHONY: ui
ui:
cd ui/teldrive-ui && npm run build
2023-09-08 21:15:47 +08:00
.PHONY: sync-ui
sync-ui:
2023-09-23 12:28:33 +08:00
git submodule update --init --recursive --remote
2023-09-08 21:15:47 +08:00
2023-09-08 18:37:11 +08:00
.PHONY: teldrive
teldrive:
2023-12-03 03:47:23 +08:00
go build -trimpath -ldflags "-s -w -extldflags=-static" cmd/teldrive/main.go