From 9c5643d5f78e4228d47e293b421d7f388d47945f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 19 Mar 2024 22:13:44 -0500 Subject: A new start! --- Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 54c4f2c..f08ae06 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,12 @@ -LUA ?= rlwrap luajit +LUA ?= rlwrap luajit \ + -e 'pp = require "pp"' \ + -e 'eval = require "eval"' \ + -e 'read = require "read"' \ + -e 'type = require "type"' \ + -e 'utf8 = require "utf8"' \ + -e 'util = require "util"' \ + -e 'test = require "test"' + .PHONY: repl repl: @@ -6,14 +14,7 @@ repl: .PHONY: test test: - $(LUA) -i \ - -e 'pp = require "pp"' \ - -e 'eval = require "eval"' \ - -e 'read = require "read"' \ - -e 'type = require "type"' \ - -e 'utf8 = require "utf8"' \ - -e 'util = require "util"' \ - -e 'test = require "test"' + $(LUA) -e 'test.runtests()' .PHONY: check check: -- cgit 1.4.1-21-gabe81