diff pam-http/Justfile @ 34:ec70822cbdef

Overhaul
author Andy Caldwell <andrew.caldwell@metaswitch.com>
date Sun, 24 Apr 2022 03:42:11 +0100
parents 27730595f1ea
children
line wrap: on
line diff
--- a/pam-http/Justfile	Thu Jul 11 19:13:19 2019 -0700
+++ b/pam-http/Justfile	Sun Apr 24 03:42:11 2022 +0100
@@ -3,10 +3,10 @@
     cargo build
 
 install:
-    @cargo build
+    @cargo build --release
     sudo cp conf/http-auth /etc/pam.d/
-    sudo cp target/debug/libpam_http.so /lib/security/pam_http.so
+    sudo cp ../target/release/libpam_http.so /lib/security/pam_http.so
 
 test:
     @just install
-    gcc -o target/pam_test test.c -lpam -lpam_misc
+    gcc -o ../target/pam_test test.c -lpam -lpam_misc