2015-02-28 19:06:49 +00:00
|
|
|
.PHONY: test local compile watch lint
|
2011-10-02 05:21:00 +00:00
|
|
|
|
2015-02-28 19:06:49 +00:00
|
|
|
test:
|
2013-06-08 06:14:08 +00:00
|
|
|
busted -p "_spec.moon$$"
|
2012-08-12 07:58:35 +00:00
|
|
|
|
2014-02-05 21:07:57 +00:00
|
|
|
local: compile
|
2011-10-02 05:21:00 +00:00
|
|
|
luarocks make --local moonscript-dev-1.rockspec
|
|
|
|
|
|
|
|
global:
|
2011-10-30 16:25:23 +00:00
|
|
|
sudo luarocks make moonscript-dev-1.rockspec
|
|
|
|
|
2015-02-28 19:06:49 +00:00
|
|
|
compile:
|
2014-09-03 03:32:52 +00:00
|
|
|
lua5.1 bin/moonc moon/ moonscript/
|
2012-01-09 06:02:43 +00:00
|
|
|
|
|
|
|
watch:
|
2013-06-08 06:33:47 +00:00
|
|
|
moonc moon/ moonscript/ && moonc -w moon/ moonscript/
|
2015-02-28 19:06:49 +00:00
|
|
|
|
|
|
|
lint:
|
|
|
|
moonc -l moonscript moon
|