summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
authorthe xhr <xhr@giessen.ccc.de>2021-08-24 21:22:29 +0200
committerthe xhr <xhr@giessen.ccc.de>2021-08-24 21:22:29 +0200
commitf224a3fe688bf2ae4c108d6b4359df4d8f03db99 (patch)
tree1d9d6fdce5671be7ae5754f51c6ef5b47bf7f0c1 /regress/Makefile
parent0f9f2d04f9c340c761a9c900fac1c225b5a05419 (diff)
Initial commit of twind - a small and simple gemini daemon
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/Makefile b/regress/Makefile
new file mode 100644
index 0000000..369c090
--- /dev/null
+++ b/regress/Makefile
@@ -0,0 +1,13 @@
+BASEDIR= /var/twind/localhost/tests
+
+testdirs:
+ mkdir -p $(BASEDIR)
+ mkdir -p $(BASEDIR)/subdir
+
+testfiles:
+ echo "1e6b1c887c59a315edb7eb9a315fc84c" > $(BASEDIR)/index.gmi
+ echo "1e6b1c887c59a315edb7eb9a315fc84c" > $(BASEDIR)/subdir/index.gmi
+ echo "1e6b1c887c59a315edb7eb9a315fc84c" > $(BASEDIR)/subdir/test.gmi
+ ln -s index.gmi $(BASEDIR)/link.gmi
+
+all: testdir testfiles
generated by cgit on OpenBSD