This repository has been archived on 2022-11-27. You can view files and clone it, but cannot push or open issues or pull requests.
activitypub/Makefile
2018-04-11 21:03:41 +02:00

22 lines
537 B
Makefile

TEST := go test
TEST_FLAGS := -v
TEST_TARGET := ./...
export GOPATH += $$GOPATH:$(shell pwd)
test:
$(TEST) $(TEST_FLAGS) $(TEST_TARGET)
activitypub.coverprofile: TEST_TARGET := activitypub
activitypub.coverprofile: TEST_FLAGS += -covermode=count -coverprofile=$(TEST_TARGET).coverprofile
activitypub.coverprofile: test
activitypub.coverprofile: TEST_TARGET := jsonld
activitypub.coverprofile: TEST_FLAGS += -covermode=count -coverprofile=$(TEST_TARGET).coverprofile
activitypub.coverprofile: test
clean:
$(RM) -v *.coverprofile