mirror of
https://github.com/mappu/miqt.git
synced 2025-01-31 02:20:22 +00:00
doc/README: update instructions for container build cache
This commit is contained in:
parent
d7ccbe3c17
commit
ca2e3c4a19
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,6 +1,9 @@
|
||||
# scratch files
|
||||
*.json
|
||||
|
||||
# docker files
|
||||
container-build-cache/
|
||||
|
||||
# binaries
|
||||
cmd/handbindings/handbindings
|
||||
cmd/handbindings/bindings_test/direct
|
||||
|
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user