mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Cheer up shellcheck
This commit is contained in:
parent
2d42f3bd70
commit
1054c0d48f
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*}/..
|
cd "${0%/*}"/.. || exit 1
|
||||||
if [ -x "$(command -v shellcheck)" ]; then
|
if [ -x "$(command -v shellcheck)" ]; then
|
||||||
GLOBIGNORE="node_modules" shellcheck -e2012 **/*.sh
|
GLOBIGNORE="node_modules" shellcheck -e2012 ./**/*.sh
|
||||||
else
|
else
|
||||||
echo "Warning: shellcheck is not installed, skipping shell scripts"
|
echo "Warning: shellcheck is not installed, skipping shell scripts"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
yarn run build --no-native
|
yarn run build --no-native
|
||||||
cd ${0%/*}/../build
|
cd "${0%/*}"/../build || exit 1
|
||||||
"$(yarn bin)/web-ext" lint
|
"$(yarn bin)/web-ext" lint
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
cd ${0%/*}
|
cd "${0%/*}" || exit
|
||||||
yarn run build --no-native
|
yarn run build --no-native
|
||||||
"$(yarn bin)/jest" src
|
"$(yarn bin)/jest" src
|
||||||
|
|
Loading…
Add table
Reference in a new issue