about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2024-04-09 21:04:17 -0500
committerCase Duckworth2024-04-09 21:04:29 -0500
commit8ce2915e3c54598c2fda4fec0980ebfc2a3adf6e (patch)
tree124ef31663ed570bed358dffd9c861d10fabce7b /Makefile
parentUh (diff)
downloadlam-8ce2915e3c54598c2fda4fec0980ebfc2a3adf6e.tar.gz
lam-8ce2915e3c54598c2fda4fec0980ebfc2a3adf6e.zip
Reorganization
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
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 @@
1LUA ?= rlwrap luajit \ 1LUA ?= 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
12luarepl: 13luarepl:
13 $(LUA) -i 14 $(LUA) -i
14 15
15.PHONY: repl 16.PHONY: lamrepl
16repl: 17lamrepl:
17 $(LUA) -e 'require("repl").repl("> ")' 18 $(LUA) -e 'require("repl").repl("> ")'
18 19
19.PHONY: test
20test:
21 $(LUA) -e 'test.runtests()'
22
23.PHONY: check 20.PHONY: check
24check: 21check:
25 luacheck *.lua 22 luacheck *.lua