Skip to content

Commit 8be95f2

Browse files
Ignore the ietf-template modules. (#1703)
* Ignore the ietf-template modules. These are templates that portentially have known syntax errors as they are meant to be used as starting points for module authors. * Fix formatting. --------- Co-authored-by: Joe Clarke <jclarke@cisco.com>
1 parent fb32b22 commit 8be95f2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

standard/ietf/check.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ checkDir() {
2222
cd $dir
2323
printf "\n"
2424
for f in *.yang; do
25+
if echo $f | grep -E '^ietf-template'; then
26+
echo "Ignoring template module."
27+
continue
28+
fi
2529
printf "pyang $pyang_flags $f\n"
2630
errors=$(pyang $pyang_flags $f 2>&1 | grep "error:")
2731
if [ ! -z "$errors" ]; then

0 commit comments

Comments
 (0)