From 756f3d91260fd1b012477d84355e61eb6c066cb5 Mon Sep 17 00:00:00 2001
From: Conrad Zelck <git@simpel.cc>
Date: Sun, 8 Oct 2023 19:22:19 +0200
Subject: [PATCH] fix: create dummy files for input/output folder

Git ignores empty folders. Both folders (input and output) are impor-
tant. Otherwise pandoc-web does not work.

Signed-off-by: Conrad Zelck <git@simpel.cc>
---
 .gitignore       | 2 ++
 input/dummy.txt  | 2 ++
 output/dummy.txt | 2 ++
 3 files changed, 6 insertions(+)
 create mode 100644 input/dummy.txt
 create mode 100644 output/dummy.txt

diff --git a/.gitignore b/.gitignore
index ba0de47..4f02efc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,5 +3,7 @@ localConfig.php
 DEBUG
 _DEBUG
 input/*
+!input/dummy.txt
 output/*
+!output/dummy.txt
 
diff --git a/input/dummy.txt b/input/dummy.txt
new file mode 100644
index 0000000..82ca9bf
--- /dev/null
+++ b/input/dummy.txt
@@ -0,0 +1,2 @@
+This file is to create the input folder. Empty folders are ignored by git.
+
diff --git a/output/dummy.txt b/output/dummy.txt
new file mode 100644
index 0000000..974babf
--- /dev/null
+++ b/output/dummy.txt
@@ -0,0 +1,2 @@
+This file is to create the output folder. Empty folders are ignored by git.
+
-- 
GitLab