From 070c74b74cb19a049fefcad0871ecda8d4d5e82d Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Thu, 18 Jul 2024 00:52:48 -0600 Subject: [PATCH] Run tests in Redbean --- Makefile | 4 ++++ TODO.txt | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6199ead..a05d67a 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ build/peachy.com: build/redbean-2.2.com run: build/peachy.com build/peachy.com +.PHONY: test +test: build/peachy.com + build/peachy.com -F tests/main.lua + build/redbean-2.2.com: wget --directory-prefix build https://redbean.dev/redbean-2.2.com chmod a+x build/redbean-2.2.com diff --git a/TODO.txt b/TODO.txt index 4f12257..56f9d18 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,4 +1,3 @@ -Write a makefile rule to run tests in redbean Set up page routes Figure out how Lua Server Pages work Try keeping shared state in a zipped file