mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-10 17:14:03 +08:00
16 lines
No EOL
227 B
Makefile
16 lines
No EOL
227 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 --remote --rebase
|
|
|
|
|
|
.PHONY: teldrive
|
|
teldrive:
|
|
go build -ldflags "-s -w"
|