diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ff07d99 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,18 @@ | |||
1 | LUA ?= rlwrap luajit | ||
2 | |||
3 | .PHONY: repl | ||
4 | repl: | ||
5 | $(LUA) -e 'require("repl").repl()' | ||
6 | |||
7 | .PHONY: test | ||
8 | test: | ||
9 | $(LUA) -i \ | ||
10 | -e 'eval=require"eval"'\ | ||
11 | -e 'global=require"global"'\ | ||
12 | -e 'pp=require"pp"'\ | ||
13 | -e 'read=require"read"'\ | ||
14 | -e 'util=require"util"'\ | ||
15 | -e 'repl=require"repl"'\ | ||
16 | -e 'types=require"types"'\ | ||
17 | -e 'utf8=require"utf8"'\ | ||
18 | -e 'util=require"util"' | ||