bring back build from system

This commit is contained in:
leaf corcoran 2022-11-04 13:22:43 -07:00
parent 75aa95d8f3
commit 791e015bbe

View File

@ -12,6 +12,14 @@ build:
$(LUA) bin/moonc -p bin/moon.moon >> bin/moon
echo "-- vim: set filetype=lua:" >> bin/moon
# This will rebuild MoonScript from the (hopefully working) system installation of moonc
build_from_system:
moonc moon/ moonscript/
echo "#!/usr/bin/env lua" > bin/moon
moonc -p bin/moon.moon >> bin/moon
echo "-- vim: set filetype=lua:" >> bin/moon
show:
# LUA $(LUA)
# LUA_VERSION $(LUA_VERSION)
@ -22,7 +30,6 @@ show:
test: build
busted
build_test_outputs: build
BUILD=1 busted spec/lang_spec.moon