mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 18:24:57 +08:00
Spellig with cspell
This commit is contained in:
@@ -26,7 +26,7 @@ if [ "$1" == "" ]; then
|
||||
fi
|
||||
|
||||
if [ "$2" != "" ]; then
|
||||
# so we dont match x.tar.gz when 'x' is given
|
||||
# so we don't match x.tar.gz when 'x' is given
|
||||
file="$2\s"
|
||||
else
|
||||
file=""
|
||||
@@ -47,7 +47,7 @@ fi
|
||||
|
||||
grepMatch=$(grep -m 1 -n "$1" checksums_hashes_order)
|
||||
if [ "$grepMatch" == "" ]; then
|
||||
echo "Could not find hash algorith '$1' in checksums_hashes_order"
|
||||
echo "Could not find hash algorithm '$1' in checksums_hashes_order"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# note that this reqires pandoc to be installed.
|
||||
# note that this requires pandoc to be installed.
|
||||
|
||||
cat ./pkg/yqlib/doc/operators/headers/Main.md > man.md
|
||||
printf "\n# HOW IT WORKS\n" >> man.md
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# note that this reqires pandoc to be installed.
|
||||
# note that this requires pandoc to be installed.
|
||||
|
||||
pandoc \
|
||||
--variable=title:"YQ" \
|
||||
|
||||
@@ -30,7 +30,7 @@ show_help() {
|
||||
echo " distribution is considered"
|
||||
echo " --goversion VERSION The version of Golang to use. Default to $GOVERSION"
|
||||
echo " -k, --sign-key KEYID Sign the package sources with the provided gpg key id (long format). When not provided this"
|
||||
echo " paramater, the generated sources are not signed"
|
||||
echo " parameter, the generated sources are not signed"
|
||||
echo " -s, --sign Sign the package sources with a gpg key of the maintainer"
|
||||
echo " -m, --maintainer WHO The maintainer used as author of the changelog. git.name and git.email (see git config) is"
|
||||
echo " the considered format"
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx cspell --no-progress "**/*.{sh,go}"
|
||||
Reference in New Issue
Block a user