about summary refs log tree commit diff stats
path: root/Makefile
blob: 23d342ff7d6a97c5bc3110850d12f4a361ad9b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LUA ?= rlwrap luajit \
	-e 'core = require "core"' \
	-e 'dump = require "dump"' \
	-e 'eval = require "eval"' \
	-e 'load = require "load"' \
	-e 'port = require "port"' \
	-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