diff --git a/README.md b/README.md index ed8b55fd7..18b133446 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,12 @@ Running ``devenv init`` generates ``devenv.nix``: enterShell = '' hello - git --version + ''; + + # https://devenv.sh/tests/ + enterTest = '' + echo "Running tests" + git --version | grep "2.42.0" ''; # https://devenv.sh/languages/ diff --git a/devenv/init/devenv.nix b/devenv/init/devenv.nix index fa9ea45ee..c7cdc7d47 100644 --- a/devenv/init/devenv.nix +++ b/devenv/init/devenv.nix @@ -15,6 +15,12 @@ git --version ''; + # https://devenv.sh/tests/ + enterTest = '' + echo "Running tests" + git --version | grep "2.42.0" + ''; + # https://devenv.sh/services/ # services.postgres.enable = true;