diff --git a/.vimrc b/.vimrc index 4d2f0fc..84e6892 100644 --- a/.vimrc +++ b/.vimrc @@ -1 +1 @@ -noremap :!./make && ./make runtest \| most +noremap :!./make && ./make runtest \| less diff --git a/build.hxml b/build.hxml index b5f61d4..fe1ea3a 100644 --- a/build.hxml +++ b/build.hxml @@ -3,7 +3,6 @@ xrfragment.Query -D shallow-expose ---resource stub/stub.js@stub -js dist/xrfragment.js --next diff --git a/make b/make index 34f0de4..4a416e4 100755 --- a/make +++ b/make @@ -5,9 +5,14 @@ try(){ set +e; "$@" 2>/dev/null; set -e; } install(){ which haxe || { + echo -e "installing haxe..if this fails:\n\n" echo " 1. install haxe from haxe.org" echo "[2.] download neko for cpp output" echo "[3.] install mono openjdk14 for csharp + java output" + which apt-get && { + apt-get update -y + apt-get neko haxe -y + } } haxelib setup haxelib install hxcpp