File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ BENCHMARK_FILTER ?= .
44
44
FULL_GOPATH = $(GOPATH ) /src/github.com/prometheus/client_golang
45
45
FULL_GOPATH_BASE = $(GOPATH ) /src/github.com/prometheus
46
46
47
- MAKE_ARTIFACTS = search_index $(BUILD_PATH )
47
+ MAKE_ARTIFACTS = search_index $(BUILD_PATH ) example_random example_simple
48
48
49
49
all : test
50
50
@@ -70,6 +70,12 @@ build: source_path dependencies
70
70
dependencies : source_path $(GOCC )
71
71
$(GO ) get -d -t ./...
72
72
73
+ example_random : source_path dependencies examples/random/main.go
74
+ $(GO ) build -o example_random examples/random/main.go
75
+
76
+ example_simple : source_path dependencies examples/simple/main.go
77
+ $(GO ) build -o example_simple examples/simple/main.go
78
+
73
79
test : build
74
80
$(GO ) test ./...
75
81
You can’t perform that action at this time.
0 commit comments