Fix bug with mv

master
Tim Hockin 2019-03-22 10:45:18 -07:00
parent 82379c2ff8
commit 7e5b3f242c
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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