update buildscripts

This commit is contained in:
Leon van Kammen 2025-02-07 16:18:37 +01:00
parent d7c60d7e23
commit a4b85b501c
2 changed files with 4 additions and 2 deletions

2
make
View file

@ -65,7 +65,7 @@ server(){
cd /tmp cd /tmp
test -f redbean.com || wget https://redbean.dev/redbean-2.2.com -O redbean.com && chmod 755 redbean.com test -f redbean.com || wget https://redbean.dev/redbean-2.2.com -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 test -f cert.pem || openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
./redbean.com -c 0 -C cert.pem -K key.pem -D $dir ./redbean.com -c 0 -C cert.pem -K key.pem "$@" -D $dir
} }
build(){ build(){

View file

@ -13,7 +13,9 @@
]; ];
shellHooks = '' shellHooks = ''
bash export NIX_SHELL_XRSH=1
echo -e "\n run: './make build' to build all (haxe parser + js)\n"
echo -e "\n run: './make build javascript' to build js\n"
''; '';
} }