commit 8c9dbbc716ab7914b2160ed4453b9bccabb5200d
parent f8972068095d2d1bcd33d547954e5f3197cca215
Author: finwo <finwo@pm.me>
Date: Sun, 29 Jan 2023 17:08:08 +0100
Initialized package.ini
Diffstat:
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/.dep b/.dep
@@ -1,3 +0,0 @@
-AUTHOR="Robin Bron <finwo@pm.me>"
-NAME="http-parser"
-DEPS=()
diff --git a/config.mk b/config.mk
@@ -0,0 +1 @@
+SRC+=__DIRNAME/src/http-parser.c
diff --git a/package.ini b/package.ini
@@ -0,0 +1,7 @@
+[package]
+name=finwo/http-parser
+
+[export]
+config.mk=config.mk
+include/finwo/http-parser.h=src/http-parser.h
+include/finwo/http-parser-statusses.h=src/http-parser-statusses.h
diff --git a/test.c b/test.c
@@ -15,7 +15,6 @@
#define ASSERT(M,c) (printf(((err|=!(c),(c)) ? (T_LIME " PASS " T_NORMAL " %s\n") : (T_RED " FAIL " T_NORMAL " %s\n")),M))
-
/* static void onRequest(struct http_parser_event *ev) { */
/* // The request has been received */
/* // Answer the request directly or pass it to a route handler of sorts */