Loading validate-data-models.sh +9 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,12 @@ if [ ! $found_data_models ] ; then exit 0 fi exit 1 No newline at end of file # This must run error-free and must display all warnings to the user pyang –strict -p ./yang-models _3gpp-*.yang ret=$? echo "------ Linting all YANG files ------" # Display all errors and warnings to the user. Errors are allowed. pyang --lint-p ./yang-models _3gpp-*.yang exit $ret No newline at end of file Loading
validate-data-models.sh +9 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,12 @@ if [ ! $found_data_models ] ; then exit 0 fi exit 1 No newline at end of file # This must run error-free and must display all warnings to the user pyang –strict -p ./yang-models _3gpp-*.yang ret=$? echo "------ Linting all YANG files ------" # Display all errors and warnings to the user. Errors are allowed. pyang --lint-p ./yang-models _3gpp-*.yang exit $ret No newline at end of file