Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
chore(make) minor tweaks to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dadleyy committed Dec 11, 2017
1 parent a9d5322 commit 1e40d5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ LIBRARY_EXAMPLE_COVERAGE_REPORT=$(LIBRARY_COVERAGE_OUTPUT_DIR)/library.coverage.
LIBRARY_EXAMPLE_COVERAGE_DISTRIBUTABLE=$(LIBRARY_COVERAGE_OUTPUT_DIR)/library.coverage.html
LIBRARY_EXAMPLE_TEST_FLAGS=-covermode=atomic $(TEST_VERBOSITY) -coverprofile=$(LIBRARY_EXAMPLE_COVERAGE_REPORT)

.PHONY: all lint test test-example clean clean-example

all: $(EXE)

$(EXE): $(VENDOR_DIR) $(GO_SRC) $(LIB_SRC)
Expand All @@ -78,7 +80,9 @@ $(VENDOR_DIR):
$(GO) get -v -u github.com/golang/lint/golint
$(GLIDE) install

example: $(LIBRARY_EXAMPLE_SRC) $(LIBRARY_EXAMPLE_MAIN) $(EXE)
example: $(LIBRARY_EXAMPLE_EXE)

$(LIBRARY_EXAMPLE_EXE): $(LIBRARY_EXAMPLE_SRC) $(LIBRARY_EXAMPLE_MAIN) $(EXE)
$(GO) get -v github.com/lib/pq
$(GO) get -v github.com/mattn/go-sqlite3
$(GO) install -v -x github.com/mattn/go-sqlite3
Expand Down

0 comments on commit 1e40d5d

Please sign in to comment.