about summary refs log tree commit diff stats
path: root/Makefile
blob: 54c4f2c12ba8bfddc38095ee78fd83058dad14bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LUA ?= rlwrap luajit

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

.PHONY: test
test:
	$(LUA) -i \
		-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: check
check:
	luacheck *.lua