Skip to content

Commit

Permalink
no metanorma-un: metanorma/metanorma-un#279
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 25, 2024
1 parent c4fd5e3 commit 0c03407
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions grammars/copy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ echo "Copying..."

metanorma_version=`git tag --sort=committerdate | tail -1`

for i in standoc iso iec bsi jis plateau cc csa ribose generic ieee un ogc nist ietf itu iho bipm
for i in standoc iso iec bsi jis plateau cc csa ribose generic ieee ogc nist ietf itu iho bipm
do
cat isodoc.rng | ruby -pe "\$_.gsub!(/<grammar/, %{<!-- VERSION ${metanorma_version} -->\n<grammar}) " > ../../metanorma-$i/lib/metanorma/$i/isodoc.rng
cp basicdoc.rng reqt.rng biblio.rng biblio-standoc.rng ../../metanorma-$i/lib/metanorma/$i
done

for i in iso iec bsi jis cc csa ribose ieee un ogc nist ietf itu iho bipm
for i in iso iec bsi jis cc csa ribose ieee ogc nist ietf itu iho bipm
do
cp relaton-$i.rng ../../metanorma-$i/lib/metanorma/$i
done
Expand All @@ -21,7 +21,7 @@ do
cp isostandard.rng ../../metanorma-$i/lib/metanorma/$i
done

for i in iec bsi jis cc csa ribose ieee un ogc nist ietf itu iho bipm generic plateau
for i in iec bsi jis cc csa ribose ieee ogc nist ietf itu iho bipm generic plateau
do
cat $i.rng | ruby -pe "\$_.gsub!(/<grammar /, %{<grammar ns='https://www.metanorma.org/ns/${i}' }) "> ../../metanorma-$i/lib/metanorma/$i/$i.rng
done
Expand Down
2 changes: 1 addition & 1 deletion grammars/relaton-model-bsi
2 changes: 1 addition & 1 deletion grammars/relaton-model-plateau

0 comments on commit 0c03407

Please sign in to comment.