mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
bring back build from system
This commit is contained in:
parent
75aa95d8f3
commit
791e015bbe
9
Makefile
9
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user