add digests target
This commit is contained in:
parent
9456fbd7e8
commit
1520d4c6f9
16
Makefile
16
Makefile
|
@ -17,12 +17,22 @@ include src/macros.mk
|
|||
include src/packages.mk
|
||||
include src/packages_manual.mk
|
||||
|
||||
compat:
|
||||
./src/compat.sh
|
||||
|
||||
DEFAULT_GOAL := default
|
||||
.PHONY: default
|
||||
default: compat bootstrap core
|
||||
|
||||
.PHONY: compat
|
||||
compat:
|
||||
./src/compat.sh
|
||||
|
||||
.PHONY: digests
|
||||
digests:
|
||||
@for each in $$(find out -iname "index.json"| sort); do \
|
||||
printf \
|
||||
"%-20s | %-50s\n" \
|
||||
"$$(basename $$(dirname $$each))" \
|
||||
$$(cat $$each | jq -r '.manifests[].digest'); \
|
||||
done
|
||||
|
||||
out/graph.svg: Makefile
|
||||
$(MAKE) -Bnd | make2graph | dot -Tsvg -o graph.svg
|
||||
|
|
Reference in New Issue