0
0
mirror of https://github.com/crazy-max/diun.git synced 2024-12-22 03:18:29 +00:00
crazy-max_diun/Makefile
2024-12-14 22:30:21 +01:00

11 lines
254 B
Makefile

.PHONY: all
all:
.PHONY: vendor
vendor:
$(eval $@_TMP_OUT := $(shell mktemp -d -t diun-output.XXXXXXXXXX))
docker buildx bake --set "*.output=type=local,dest=$($@_TMP_OUT)" vendor
rm -rf ./vendor
cp -R "$($@_TMP_OUT)"/* ./
rm -rf "$($@_TMP_OUT)"/*