mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
20 lines
333 B
Makefile
20 lines
333 B
Makefile
.PHONY: test local compile watch lint
|
|
|
|
test:
|
|
busted -p "_spec.moon$$"
|
|
|
|
local: compile
|
|
luarocks make --local moonscript-dev-1.rockspec
|
|
|
|
global:
|
|
sudo luarocks make moonscript-dev-1.rockspec
|
|
|
|
compile:
|
|
lua5.1 bin/moonc moon/ moonscript/
|
|
|
|
watch:
|
|
moonc moon/ moonscript/ && moonc -w moon/ moonscript/
|
|
|
|
lint:
|
|
moonc -l moonscript moon
|