Skip to content

Commit

Permalink
Search 'experimental' (before 'ietf')
Browse files Browse the repository at this point in the history
  • Loading branch information
wlupton committed Apr 30, 2024
1 parent 3b87ba2 commit eaac2c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

cwd=`pwd`

# experimental YANG
exp_dir="$cwd/experimental"

# default arguments
bbf_dir="$cwd/standard/bbf"
ietf_dir="$cwd/standard/ietf"
Expand Down Expand Up @@ -45,7 +48,7 @@ ietf_dir=`pwd`

cd $cwd

pyang_flags="--max-line-length=70 --lint --lint-modulename-prefix=bbf --lint-namespace-prefix=urn:bbf:yang: --lint-ensure-hyphenated-name --verbose --path=$bbf_dir --path=$ietf_dir --path=$ieee_dir"
pyang_flags="--max-line-length=70 --lint --lint-modulename-prefix=bbf --lint-namespace-prefix=urn:bbf:yang: --lint-ensure-hyphenated-name --verbose --path=$bbf_dir --path=$exp_dir --path=$ietf_dir --path=$ieee_dir"

checkDir () {
local dir="$bbf_dir/$1"
Expand Down

0 comments on commit eaac2c3

Please sign in to comment.