diff --git a/make b/make index 1b6f992..3d70e37 100755 --- a/make +++ b/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(){ diff --git a/shell.nix b/shell.nix index 58ee0d1..40e95ff 100644 --- a/shell.nix +++ b/shell.nix @@ -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" ''; }