update buildscripts
This commit is contained in:
parent
d7c60d7e23
commit
a4b85b501c
2 changed files with 4 additions and 2 deletions
2
make
2
make
|
|
@ -65,7 +65,7 @@ server(){
|
|||
cd /tmp
|
||||
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
|
||||
./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(){
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@
|
|||
];
|
||||
|
||||
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"
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue