about summary refs log tree commit diff stats
path: root/Makefile
blob: 66c1ff8cfe3139293bac4113332088a881708ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LUA ?= rlwrap luajit \
	-e 'core = require "core"' \
	-e 'dump = require "dump"' \
	-e 'eval = require "eval"' \
	-e 'load = require "load"' \
	-e 'read = require "read"' \
	-e 'repl = require "repl"' \
	-e 'type = require "type"' \
	-e 'util = require "util"'

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

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

.PHONY: check
check:
	luacheck *.lua