From e3ee41681800b396f3ecf1b0f6d1b378168c1a16 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 28 Mar 2025 06:01:52 +0100 Subject: build: add smoke test --- default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.nix b/default.nix index d70e409..a828aa9 100644 --- a/default.nix +++ b/default.nix @@ -31,6 +31,9 @@ buildPythonApplication rec { logformat ]; + # smoke test + preCheck = "$out/bin/osm-proposals --help >/dev/null"; + postInstall = '' mkdir -p $out/share/osm-proposals cp -r ${./static}/. $out/share/osm-proposals/ -- cgit v1.2.3