'make release_tarball' target, Go analog of C 'make distcheck' (#742)

This commit is contained in:
John Kerl 2021-11-10 09:09:49 -05:00 committed by GitHub
parent fe9a70e225
commit 92bc0f3b00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 112 additions and 12 deletions

View file

@ -1,6 +1,3 @@
# TODO: 'cp go/mlr .' or 'copy go\mlr.exe .' with reliable platform detection
# and no confusing error messages.
build:
make -C go build
@echo "Miller executable is: ./mlr, or go\mlr.exe on Windows"
@ -35,5 +32,10 @@ precommit:
# Keystroke-saver
itso: build check install
# Please see comments in ./create-release-tarball as well as
# https://miller.readthedocs.io/en/latest/build/#creating-a-new-release-for-developers
release_tarball: build check
./create-release-tarball
# Go does its own dependency management, outside of make.
.PHONY: build precommit
.PHONY: build check install precommit