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