diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Makefile b/Makefile index 3495163..23d342f 100644 --- a/Makefile +++ b/Makefile | |||
@@ -1,25 +1,22 @@ | |||
1 | LUA ?= rlwrap luajit \ | 1 | LUA ?= rlwrap luajit \ |
2 | -e 'pp = require("dump").pp' \ | 2 | -e 'core = require "core"' \ |
3 | -e 'dump = require "dump"' \ | ||
3 | -e 'eval = require "eval"' \ | 4 | -e 'eval = require "eval"' \ |
5 | -e 'load = require "load"' \ | ||
6 | -e 'port = require "port"' \ | ||
4 | -e 'read = require "read"' \ | 7 | -e 'read = require "read"' \ |
8 | -e 'repl = require "repl"' \ | ||
5 | -e 'type = require "type"' \ | 9 | -e 'type = require "type"' \ |
6 | -e 'utf8 = require "utf8"' \ | 10 | -e 'util = require "util"' |
7 | -e 'util = require "util"' \ | ||
8 | -e 'test = require "test"' \ | ||
9 | -e 'repl = require "repl"' | ||
10 | 11 | ||
11 | .PHONY: luarepl | 12 | .PHONY: luarepl |
12 | luarepl: | 13 | luarepl: |
13 | $(LUA) -i | 14 | $(LUA) -i |
14 | 15 | ||
15 | .PHONY: repl | 16 | .PHONY: lamrepl |
16 | repl: | 17 | lamrepl: |
17 | $(LUA) -e 'require("repl").repl("> ")' | 18 | $(LUA) -e 'require("repl").repl("> ")' |
18 | 19 | ||
19 | .PHONY: test | ||
20 | test: | ||
21 | $(LUA) -e 'test.runtests()' | ||
22 | |||
23 | .PHONY: check | 20 | .PHONY: check |
24 | check: | 21 | check: |
25 | luacheck *.lua | 22 | luacheck *.lua |