diff options
| author | EuAndreh <eu@euandre.org> | 2019-05-26 13:53:18 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2019-05-26 13:53:54 -0300 |
| commit | 4708140a4bd79af2c78809c0fe78f4ca0fbd9663 (patch) | |
| tree | 1e1b56c28b33ab54038f738a25cfe988e7bb1a80 | |
| parent | Disable shellcheck 2139 offense (diff) | |
| download | toph-4708140a4bd79af2c78809c0fe78f4ca0fbd9663.tar.gz toph-4708140a4bd79af2c78809c0fe78f4ca0fbd9663.tar.xz | |
Run shellcheck on Bash files stored in git-crypt
| -rw-r--r-- | .build.yml | 2 | ||||
| -rw-r--r-- | default.nix | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -15,6 +15,8 @@ tasks: - setup: | curl https://nixos.org/nix/install | sh echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv + cd vps/ + git crypt unlock - tests: | cd vps/ nix-build -A test diff --git a/default.nix b/default.nix index 67830e2..08568b2 100644 --- a/default.nix +++ b/default.nix @@ -27,8 +27,7 @@ with pkgs.stdenv; rec { name = "${baseAttrs.name}-shellcheck"; buildInputs = baseAttrs.buildInputs ++ [ shellcheck ]; buildPhase = '' - ignored='(secrets/)' - find . -type f -name '*.sh' | grep -E -v $ignored | xargs shellcheck + find . -type f -name '*.sh' | xargs shellcheck touch $out ''; }); |
