diff --git a/Makefile b/Makefile index 37b1b9c..7a0f4b3 100644 --- a/Makefile +++ b/Makefile @@ -133,7 +133,7 @@ $(OUTBIN): .go/$(OUTBIN).stamp ./build/build.sh \ " @if ! cmp -s .go/$(OUTBIN) $(OUTBIN); then \ - mv .go/$(OUTBIN) $(OUTBIN); \ + mv .go/$(OUTBIN) $(OUTBIN); \ date >$@; \ fi diff --git a/README.md b/README.md index 0bcc088..3c22895 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,13 @@ Dockerfile.in: - change the `MAINTAINER` to you - maybe change or remove the `USER` if you need +## Go Modules + +This assumes the use of go modules (which will be the default for all Go builds +as of Go 1.13) and vendoring (which reasonable minds might disagree about). You +will need to run `go mod init` to set them up, and you will need to run `go mod +vendor` to create a `vendor` directory when you have dependencies. + ## Building Run `make` or `make build` to compile your app. This will use a Docker image