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

10 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)"/*