Handle module names with "-" in ref-deps.

This commit is contained in:
Qi Xiao 2021-11-29 20:02:26 +00:00
parent b342163e4e
commit 27421a0c25

View File

@ -6,6 +6,7 @@
cat ${1%.html}.md |
awk '/^@module/{ if (NF == 3) { print $3 } else { print "pkg/mods/" $2 } }' |
sed 's/-//g' |
while read dir; do
echo ../$dir ../$dir/*.go
echo ../$dir ../$dir/*
done