From 95d1b9428f3fc97f92c463c50c2afd17a5b5444e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 22 Nov 2023 16:33:01 +0100 Subject: enhance local testing --- Justfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Justfile (limited to 'Justfile') diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..2c75d5f --- /dev/null +++ b/Justfile @@ -0,0 +1,9 @@ +test: + GEMINI_HOST=localhost php -S localhost:8080 -t test test/index.php + + +server: + php test/server.php + +cert-server: + openssl req -x509 -newkey rsa:4096 -keyout test/key.rsa -out test/cert.pem -days 3650 -nodes -subj "/CN=localhost" -- cgit v1.2.3