Skip to content
Snippets Groups Projects
  • cedi's avatar
    40a5deb1
    Fix issue in Makefile · 40a5deb1
    cedi authored
    remove the vendor target, rename the building of dep to dep and
    introduce new dep-clean target to cleanup the dep issues (dep in dep
    which breaks gazelle)
    40a5deb1
    History
    Fix issue in Makefile
    cedi authored
    remove the vendor target, rename the building of dep to dep and
    introduce new dep-clean target to cleanup the dep issues (dep in dep
    which breaks gazelle)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Makefile 488 B
NAME=bio-rd

all: test

$(NAME): gazelle
	bazel build //:bio-rd

gazelle:
	bazel run //:gazelle -- update

test: $(NAME)
	bazel test //...

dep:
	bazel build //vendor/github.com/golang/dep/cmd/dep

dep-clean:
	# hack: dep of dep gives us these, and it breaks gazelle
	rm -rf vendor/github.com/golang/dep/cmd/dep/testdata
	rm -rf vendor/github.com/golang/dep/internal/fs/testdata/symlinks/dir-symlink

clean: dep-clean
	bazel clean
	rm $(NAME)

.PHONY: $(NAME) gazelle clean dep dep-clean