Skip to content

Instantly share code, notes, and snippets.

@excavador
Last active July 6, 2017 23:19
Show Gist options
  • Save excavador/955fc43c64bdadcbc151419cceaa9288 to your computer and use it in GitHub Desktop.
Save excavador/955fc43c64bdadcbc151419cceaa9288 to your computer and use it in GitHub Desktop.
$(VET).state:
@touch $@
$(VET): bin/xargs-if-changed bin/vet $(VET).state $(SIGN__GO__SOURCE) $(SIGN__GO__TEST) $(SIGN__GO__GENERATED)
$(info [vet])
@(make/02.files-go-source.sh; make/02.files-go-test.sh) | XARGS_STATE=$(VET).state XARGS_WRAP_OUTPUT=0 bin/xargs-if-changed bin/vet
@touch $@
vet: $(VET)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment