mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-10 09:02:52 +08:00
16 lines
No EOL
288 B
Makefile
16 lines
No EOL
288 B
Makefile
.PHONY: pre-ui
|
|
pre-ui:
|
|
cd ui/teldrive-ui && npm ci
|
|
|
|
.PHONY: ui
|
|
ui:
|
|
cd ui/teldrive-ui && npm run build
|
|
|
|
.PHONY: sync-ui
|
|
sync-ui:
|
|
git submodule update --init --recursive --remote
|
|
|
|
|
|
.PHONY: teldrive
|
|
teldrive:
|
|
go build -trimpath -ldflags "-s -w -extldflags=-static" cmd/teldrive/main.go
|