Browse code

Move verify-upstream-commits to a separate make target

Maciej Szulik authored on 2016/11/30 00:51:41
Showing 2 changed files
... ...
@@ -9,6 +9,7 @@ install:
9 9
 
10 10
 script:
11 11
   - PERMISSIVE_GO=y make verify
12
+  - make verify-commits
12 13
 
13 14
 notifications:
14 15
   irc: "chat.freenode.net#openshift-dev"
... ...
@@ -61,7 +61,6 @@ check: | build verify
61 61
 #   make verify
62 62
 verify: build
63 63
 	# build-tests is disabled until we can determine why memory usage is so high
64
-	hack/verify-upstream-commits.sh
65 64
 	hack/verify-gofmt.sh
66 65
 	hack/verify-govet.sh
67 66
 	hack/verify-generated-bootstrap-bindata.sh
... ...
@@ -76,6 +75,14 @@ verify: build
76 76
 	hack/verify-generated-swagger-spec.sh
77 77
 .PHONY: verify
78 78
 
79
+# Verify commit comments.
80
+#
81
+# Example:
82
+#   make verify-commits
83
+verify-commits:
84
+	hack/verify-upstream-commits.sh
85
+.PHONY: verify-commits
86
+
79 87
 # Update all generated artifacts.
80 88
 #
81 89
 # Example:
... ...
@@ -281,4 +288,4 @@ release-rpms: clean build-rpms
281 281
 #   make vendor-console
282 282
 vendor-console:
283 283
 	GIT_REF=$(GIT_REF) CONSOLE_REPO_PATH=$(CONSOLE_REPO_PATH) hack/vendor-console.sh
284
-.PHONY: vendor-console
285 284
\ No newline at end of file
285
+.PHONY: vendor-console