Track and compare working group dirs too
This commit is contained in:
parent
139c239497
commit
fad14ac876
2
Makefile
2
Makefile
|
|
@ -4,7 +4,7 @@ default: \
|
||||||
generate \
|
generate \
|
||||||
|
|
||||||
reset-docs:
|
reset-docs:
|
||||||
git checkout HEAD -- sig-list.md sig-*/README.md
|
git checkout HEAD -- ./sig-list.md ./sig-*/README.md ./wg-*/README.md
|
||||||
|
|
||||||
generate:
|
generate:
|
||||||
go run ./generator/app.go
|
go run ./generator/app.go
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ function cleanup {
|
||||||
}
|
}
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
cp -r sig* Makefile generator ${WORKING_DIR}
|
cp -r sigs.yaml sig-* wg-* Makefile generator ${WORKING_DIR}/
|
||||||
|
|
||||||
cd ${WORKING_DIR}
|
cd ${WORKING_DIR}
|
||||||
make 1>/dev/null
|
make 1>/dev/null
|
||||||
|
|
@ -19,7 +19,7 @@ make 1>/dev/null
|
||||||
mismatches=0
|
mismatches=0
|
||||||
break=$(printf "=%.0s" $(seq 1 68))
|
break=$(printf "=%.0s" $(seq 1 68))
|
||||||
|
|
||||||
for file in $(ls ${CRT_DIR}/sig-*/README.md ${CRT_DIR}/sig-list.md); do
|
for file in $(ls ${CRT_DIR}/sig-*/README.md ${CRT_DIR}/wg-*/README.md ${CRT_DIR}/sig-list.md); do
|
||||||
real=${file#$CRT_DIR/}
|
real=${file#$CRT_DIR/}
|
||||||
if ! diff -q ${file} ${WORKING_DIR}/${real} &>/dev/null; then
|
if ! diff -q ${file} ${WORKING_DIR}/${real} &>/dev/null; then
|
||||||
echo "${file} does not match ${WORKING_DIR}/${real}";
|
echo "${file} does not match ${WORKING_DIR}/${real}";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue