feat: support digest generation w/ diff support
This commit is contained in:
parent
06dfee56eb
commit
2410a0c19d
2 changed files with 10 additions and 11 deletions
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
14
README.md
14
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue