Skip to content

Commit 7dcd279

Browse files
committed
chore: update scripts/lint.sh
1 parent 7745dd6 commit 7dcd279

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/lint.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
#!/usr/bin/env sh
22

3+
echo "[luacheck]"
4+
echo
5+
36
luacheck $@ .
7+
8+
echo
9+
echo "[luarocks lint]"
10+
echo
11+
12+
for rockspec in rockspecs/*; do
13+
echo luarocks lint "${rockspec}"
14+
luarocks lint "${rockspec}"
15+
done

0 commit comments

Comments
 (0)