tests: add shellcheck
This commit is contained in:
parent
b625325487
commit
9a92d29111
3 changed files with 30 additions and 1 deletions
|
|
@ -312,8 +312,14 @@ examples() {
|
|||
(cd "$scriptDir/../examples" && nix-shell --run "$script")
|
||||
}
|
||||
|
||||
shellcheck() {
|
||||
if ! checkFlakeSupport "shellcheck"; then return; fi
|
||||
nix shell --inputs-from "$scriptDir/.." nixpkgs#shellcheck -c "$scriptDir/shellcheck.sh"
|
||||
}
|
||||
|
||||
all() {
|
||||
buildable
|
||||
buildable "$@"
|
||||
shellcheck
|
||||
examples
|
||||
flake
|
||||
nixosSearch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue