feat: support digest generation w/ diff support

This commit is contained in:
Lance R. Vick 2024-02-12 13:51:02 -08:00
parent 06dfee56eb
commit 2410a0c19d
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D
2 changed files with 10 additions and 11 deletions

View file

@ -18,7 +18,7 @@ include src/packages.mk
DEFAULT_GOAL := default
.PHONY: default
default: compat all
default: compat digests.txt
.PHONY: all
all: $(shell find src/*/* -type d -exec sh -c 'basename {} | tr "\n" " "' \; )
@ -36,5 +36,10 @@ digests:
"$$(basename $$(dirname $$each))"; \
done
digests.txt: all
mv $@ .$@.old
$(MAKE) digests > $@
diff $@.old $@
out/graph.svg: Makefile
$(MAKE) -Bnd | make2graph | dot -Tsvg -o graph.svg

View file

@ -237,7 +237,7 @@ For further reading see the [Bootstrappable Builds](https://bootstrappable.org/)
### Examples
#### Compile all packages
#### Reproduce entire tree
```
make
@ -249,19 +249,13 @@ make
make rust
```
#### Reproduce all changed packages (WIP)
#### Compile specific package without cache
```
make reproduce
make NOCACHE=1
```
#### Reproduce all packages without cache (WIP)
```
make clean reproduce
```
#### Sign current manifest of package hashes (WIP)
#### Sign all locally built packages (WIP)
```
make sign