mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 20:35:24 +00:00
43 lines
745 B
Makefile
43 lines
745 B
Makefile
|
|
CMDS := zoekt yarn
|
|
|
|
ALL: $(CMDS)
|
|
|
|
yarn:
|
|
yarn install
|
|
yarn build:deps
|
|
|
|
zoekt:
|
|
mkdir -p bin
|
|
go build -C vendor/zoekt -o $(PWD)/bin ./cmd/...
|
|
export PATH="$(PWD)/bin:$(PATH)"
|
|
export CTAGS_COMMANDS=ctags
|
|
|
|
clean:
|
|
redis-cli FLUSHALL
|
|
yarn dev:prisma:migrate:reset
|
|
|
|
rm -rf \
|
|
bin \
|
|
node_modules \
|
|
packages/web/node_modules \
|
|
packages/web/.next \
|
|
packages/backend/dist \
|
|
packages/backend/node_modules \
|
|
packages/db/node_modules \
|
|
packages/db/dist \
|
|
packages/schemas/node_modules \
|
|
packages/schemas/dist \
|
|
packages/mcp/node_modules \
|
|
packages/mcp/dist \
|
|
packages/shared/node_modules \
|
|
packages/shared/dist \
|
|
.sourcebot
|
|
|
|
soft-reset:
|
|
rm -rf .sourcebot
|
|
redis-cli FLUSHALL
|
|
yarn dev:prisma:migrate:reset
|
|
|
|
|
|
.PHONY: bin
|