sourcebot/Makefile

37 lines
591 B
Makefile
Raw Normal View History

2024-09-18 03:34:43 +00:00
2025-01-14 21:37:31 +00:00
CMDS := zoekt yarn
2024-09-18 03:34:43 +00:00
ALL: $(CMDS)
2025-01-14 21:37:31 +00:00
yarn:
2024-09-18 03:34:43 +00:00
yarn install
zoekt:
mkdir -p bin
go build -C vendor/zoekt -o $(PWD)/bin ./cmd/...
2024-10-17 20:31:18 +00:00
export PATH=$(PWD)/bin:$(PATH)
export CTAGS_COMMANDS=ctags
2024-09-18 03:34:43 +00:00
clean:
2024-10-17 20:31:18 +00:00
rm -rf \
bin \
node_modules \
packages/web/node_modules \
packages/web/.next \
packages/backend/dist \
packages/backend/node_modules \
2025-01-14 21:37:31 +00:00
packages/db/node_modules \
packages/db/dist \
packages/schemas/node_modules \
packages/schemas/dist \
packages/crypto/node_modules \
packages/crypto/dist \
2024-10-17 20:31:18 +00:00
.sourcebot
2024-09-18 03:34:43 +00:00
soft-reset:
rm -rf .sourcebot
redis-cli FLUSHALL
2024-09-18 03:34:43 +00:00
.PHONY: bin