create go build directory

This commit is contained in:
Jacek Sieka 2025-01-11 20:48:48 +01:00
parent da9349971c
commit 0474d3f8b2

View File

@ -11,6 +11,7 @@ clean:
rm -f $(BUILDSTAMPS) rm -f $(BUILDSTAMPS)
genbindings: $(BUILDSTAMPS) genbindings: $(BUILDSTAMPS)
mkdir -p ~/.cache/go-build
docker run --user $$(id -u):$$(id -g) -v ~/.cache/go-build:/.cache/go-build -v $$PWD:/src -w /src miqt/genbindings:latest /bin/bash -c 'cd cmd/genbindings && go build && ./genbindings' docker run --user $$(id -u):$$(id -g) -v ~/.cache/go-build:/.cache/go-build -v $$PWD:/src -w /src miqt/genbindings:latest /bin/bash -c 'cd cmd/genbindings && go build && ./genbindings'
.PHONY : all clean genbindings .PHONY : all clean genbindings