diff options
author | Simon Pasquier <spasquie@redhat.com> | 2019-03-25 12:47:57 +0100 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2019-03-25 12:47:57 +0100 |
commit | dbe7badc7c37da1ddaaa33db4860e51a73c4c44a (patch) | |
tree | 9fad12c85f6537992e4f7051a90d2c3ffa44732d /Makefile | |
parent | 2f87b7cba6d6eb729a78724335fd59e746fcdff4 (diff) | |
download | prometheus_node_collector-dbe7badc7c37da1ddaaa33db4860e51a73c4c44a.tar.bz2 prometheus_node_collector-dbe7badc7c37da1ddaaa33db4860e51a73c4c44a.tar.xz prometheus_node_collector-dbe7badc7c37da1ddaaa33db4860e51a73c4c44a.zip |
Update Makefile.common (#1288)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,6 +11,9 @@ | |||
11 | # See the License for the specific language governing permissions and | 11 | # See the License for the specific language governing permissions and |
12 | # limitations under the License. | 12 | # limitations under the License. |
13 | 13 | ||
14 | # Ensure that 'all' is the default target otherwise it will be the first target from Makefile.common. | ||
15 | all:: | ||
16 | |||
14 | include Makefile.common | 17 | include Makefile.common |
15 | 18 | ||
16 | PROMTOOL_VERSION ?= 2.5.0 | 19 | PROMTOOL_VERSION ?= 2.5.0 |
@@ -70,7 +73,7 @@ $(eval $(call goarch_pair,amd64,386)) | |||
70 | $(eval $(call goarch_pair,mips64,mips)) | 73 | $(eval $(call goarch_pair,mips64,mips)) |
71 | $(eval $(call goarch_pair,mips64el,mipsel)) | 74 | $(eval $(call goarch_pair,mips64el,mipsel)) |
72 | 75 | ||
73 | all: style vet staticcheck checkmetrics checkrules build test $(cross-test) $(test-e2e) | 76 | all:: vet checkmetrics checkrules common-all $(cross-test) $(test-e2e) |
74 | 77 | ||
75 | .PHONY: test | 78 | .PHONY: test |
76 | test: collector/fixtures/sys/.unpacked | 79 | test: collector/fixtures/sys/.unpacked |