mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 06:13:54 -07:00
Fix quickrun does not update when code change while running through stack
This commit is contained in:
parent
ee428b08ac
commit
e87431db3d
1 changed files with 4 additions and 1 deletions
5
quickrun
5
quickrun
|
@ -2,4 +2,7 @@
|
|||
# quickrun runs ShellCheck in an interpreted mode.
|
||||
# This allows testing changes without recompiling.
|
||||
|
||||
stack runghc shellcheck.hs "$@"
|
||||
BASEDIR=$(dirname $0)
|
||||
AUTOGEN_PATH=$(find . -path '*/build/autogen')
|
||||
|
||||
stack runghc -- -i"${AUTOGEN_PATH}" -isrc shellcheck.hs "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue