Verify staleness of generated code during build
This commit is contained in:
		
							parent
							
								
									ccfb3b85a6
								
							
						
					
					
						commit
						da5add10c6
					
				|  | @ -18,4 +18,5 @@ install: | ||||||
|   - make deps |   - make deps | ||||||
| 
 | 
 | ||||||
| script: | script: | ||||||
|  |   - hack/verify-codegen.sh | ||||||
|   - travis_wait 20 goveralls -service=travis-ci -package ./pkg/... -v |   - travis_wait 20 goveralls -service=travis-ci -package ./pkg/... -v | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										1
									
								
								Makefile
								
								
								
								
							|  | @ -44,6 +44,7 @@ clean: | ||||||
| 	rm -rf build scm-source.json | 	rm -rf build scm-source.json | ||||||
| 
 | 
 | ||||||
| local: ${SOURCES} | local: ${SOURCES} | ||||||
|  | 	hack/verify-codegen.sh | ||||||
| 	CGO_ENABLED=${CGO_ENABLED} go build -o build/${BINARY} $(LOCAL_BUILD_FLAGS) -ldflags "$(LDFLAGS)" $^ | 	CGO_ENABLED=${CGO_ENABLED} go build -o build/${BINARY} $(LOCAL_BUILD_FLAGS) -ldflags "$(LDFLAGS)" $^ | ||||||
| 
 | 
 | ||||||
| linux: ${SOURCES} | linux: ${SOURCES} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue