diff --git a/.gitignore b/.gitignore index c56e5f0f..8335ee16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # scratch files *.json +# docker files +container-build-cache/ + # binaries cmd/handbindings/handbindings cmd/handbindings/bindings_test/direct diff --git a/README.md b/README.md index 436de87e..2b00c3e7 100644 --- a/README.md +++ b/README.md @@ -78,4 +78,4 @@ Some C++ idioms that were difficult to project were omitted from the binding. Bu 2. Build your application: - `docker run --rm -v $(pwd):/src -w /src miqt/win64-cross:latest go build -buildvcs=false -ldflags '-s -w -H windowsgui'` -For repeated builds, the compile speed can be improved if you also bind-mount the Docker container's `GOCACHE` directory: `-v ./container-build-cache:/root/.cache/go-build` +For repeated builds, the compile speed can be improved if you also bind-mount the Docker container's `GOCACHE` directory: `-v $(pwd)/container-build-cache:/root/.cache/go-build`