ci: use missdoc as subcmd (#14524)

Larpon 2022-05-25 18:07:07 +02:00 committed by Chewing_Bever
parent f13369dad3
commit a61316ceea
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ jobs:
- name: Check against parent commit - name: Check against parent commit
run: | run: |
./v run cmd/tools/missdoc.v $MOPTIONS | sort > /tmp/n_v.txt ./v missdoc $MOPTIONS | sort > /tmp/n_v.txt
cd pv/ && ../v run ../cmd/tools/missdoc.v $MOPTIONS | sort > /tmp/o_v.txt cd pv/ && ../v missdoc $MOPTIONS | sort > /tmp/o_v.txt
count_new=$(cat /tmp/n_v.txt | wc -l) count_new=$(cat /tmp/n_v.txt | wc -l)
count_old=$(cat /tmp/o_v.txt | wc -l) count_old=$(cat /tmp/o_v.txt | wc -l)
echo "new pubs: $count_new | old pubs: $count_old" echo "new pubs: $count_new | old pubs: $count_old"