about summary refs log tree commit diff stats
path: root/Makefile
blob: 51b3fc20db5a24a956ee18429885ccd4da46c50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LUA ?= rlwrap luajit \
	-e 'pp = require "pp"' \
	-e 'eval = require "eval"' \
	-e 'read = require "read"' \
	-e 'type = require "type"' \
	-e 'utf8 = require "utf8"' \
	-e 'util = require "util"' \
	-e 'test = require "test"'

.PHONY: luarepl
luarepl:
	$(LUA) -i

.PHONY: repl
repl:
	$(LUA) -e 'require("repl").repl("lam> ")'

.PHONY: test
test:
	$(LUA) -e 'test.runtests()'

.PHONY: check
check:
	luacheck *.lua