Skip to content

Commit 7fb408d

Browse files
committed
Add script for updating spec.txt
1 parent d9bff18 commit 7fb408d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

etc/update-spec.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
if [ "$#" -ne 1 ]; then
4+
echo "usage: $0 <version>"
5+
exit 1
6+
fi
7+
8+
version=$1
9+
curl -L "https://raw.githubusercontent.com/jgm/CommonMark/$version/spec.txt" -o commonmark/src/test/resources/spec.txt

0 commit comments

Comments
 (0)