diff --git a/flake-modules/dev/devshell.nix b/flake-modules/dev/devshell.nix index fa5e494e..40794509 100644 --- a/flake-modules/dev/devshell.nix +++ b/flake-modules/dev/devshell.nix @@ -22,7 +22,11 @@ { name = "checks"; help = "Run all nixvim checks"; - command = "nix flake check"; + command = '' + echo "=> Running all nixvim checks..." + + ${nix} flake check "$@" + ''; } { name = "tests"; @@ -33,6 +37,15 @@ ${nix} build .#checks.${system}.tests "$@" ''; } + { + name = "test-lib"; + help = "Run nixvim library tests"; + command = '' + echo "=> Running nixvim library tests for the '${system}' architecture..." + + ${nix} build .#checks.${system}.lib-tests "$@" + ''; + } { name = "format"; help = "Format the entire codebase";