mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
Add helper makefile
This commit is contained in:
parent
8fa5645a4e
commit
d742d4fbbd
2 changed files with 19 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -39,4 +39,6 @@ next-env.d.ts
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/nextjs
|
# End of https://www.toptal.com/developers/gitignore/api/nextjs
|
||||||
|
|
||||||
.sourcebot
|
.sourcebot
|
||||||
|
/bin
|
||||||
|
/config.json
|
||||||
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
CMDS := zoekt ui
|
||||||
|
|
||||||
|
ALL: $(CMDS)
|
||||||
|
|
||||||
|
ui:
|
||||||
|
yarn install
|
||||||
|
|
||||||
|
zoekt:
|
||||||
|
mkdir -p bin
|
||||||
|
go build -C vendor/zoekt -o $(PWD)/bin ./cmd/...
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf bin node_modules
|
||||||
|
|
||||||
|
.PHONY: bin
|
||||||
Loading…
Reference in a new issue