diff --git a/.gitignore b/.gitignore index 8280f33f..e3381083 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,6 @@ next-env.d.ts # End of https://www.toptal.com/developers/gitignore/api/nextjs -.sourcebot \ No newline at end of file +.sourcebot +/bin +/config.json \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..d3c5eac7 --- /dev/null +++ b/Makefile @@ -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