Makefile 743 B

1234567891011121314151617181920212223242526272829303132
  1. VERSION = 1.2.1
  2. RELEASE_PKG = ./cmd/depth
  3. INSTALL_PKG = $(RELEASE_PKG)
  4. # Remote includes require 'mmake'
  5. # github.com/tj/mmake
  6. include github.com/KyleBanks/make/go/install
  7. include github.com/KyleBanks/make/go/sanity
  8. include github.com/KyleBanks/make/go/release
  9. include github.com/KyleBanks/make/go/bench
  10. include github.com/KyleBanks/make/git/precommit
  11. # Runs a number of depth commands as examples of what's possible.
  12. example: | install
  13. depth github.com/KyleBanks/depth/cmd/depth strings ./
  14. depth -internal strings
  15. depth -json github.com/KyleBanks/depth/cmd/depth
  16. depth -test github.com/KyleBanks/depth/cmd/depth
  17. depth -test -internal strings
  18. depth -test -internal -max 3 strings
  19. depth .
  20. depth ./cmd/depth
  21. .PHONY: example