main: work in progress [might break]
Some checks failed
/ mirror_to_github (push) Has been cancelled
/ test (push) Has been cancelled

This commit is contained in:
Leon van Kammen 2024-08-02 16:15:23 +00:00
parent 24e117f512
commit 4f2aefe5ef

8
make
View file

@ -24,12 +24,10 @@ standalone(){
}
dev(){
cd /tmp
test -f redbean.com || wget "$REDBEAN_VERSION" -O redbean.com && chmod 755 redbean.com
test -f cert.pem || openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
cd -
cd "$DIR"
/tmp/redbean.com -c 0 -C /tmp/cert.pem -K /tmp/key.pem -D . "$@"
test -f xrsh.com || standalone
test -f cert.pem || openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout /tmp/key.pem -out /tmp/cert.pem
./xrsh.com -c 0 -C /tmp/cert.pem -K /tmp/key.pem -D . "$@"
}
test -z $1 && install