view pam-http/Justfile @ 43:60e74d6a2b88

Merge pull request #10 from Nigma1337/master Automate crate publishing
author Anthony Nowell <anowell@gmail.com>
date Mon, 29 Aug 2022 14:32:28 -0700
parents ec70822cbdef
children
line wrap: on
line source


all:
    cargo build

install:
    @cargo build --release
    sudo cp conf/http-auth /etc/pam.d/
    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