diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..58ea8aa --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +.PHONY: * + +help: ## display this help + @awk 'BEGIN{FS = ":.*##"; printf "\033[1m\nUsage\n \033[1;92m make\033[0;36m \033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST) + +test: ## run pytest + python -m pytest diff --git a/flake.nix b/flake.nix index 98ea838..7e5c31b 100644 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,7 @@ pkgs.mkShell { packages = [ pythonEnv + pkgs.gnumake pkgs.nixos-shell # We only take this dependency for htpasswd, which is a little unfortunate pkgs.apacheHttpd