From ab22259e990b5b1c977a2fbe958bec1b44e51c02 Mon Sep 17 00:00:00 2001 From: Patrick Hener Date: Thu, 27 Jun 2024 14:56:19 +0200 Subject: [PATCH] .gitignore --- .gitignore | 3 ++- httpserver/embedded/example.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 httpserver/embedded/example.txt diff --git a/.gitignore b/.gitignore index a989c9f..358df0f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ /goshs *.exe *resource.go -/httpserver/embedded +/httpserver/embedded/* +!httpserver/embedded/example.txt diff --git a/httpserver/embedded/example.txt b/httpserver/embedded/example.txt new file mode 100644 index 0000000..d622f23 --- /dev/null +++ b/httpserver/embedded/example.txt @@ -0,0 +1 @@ +This is an example for an embedded file on compilation time. If you place any other file here before compiling using the Makefile, then it will be added to the goshs binary and will be available when running it.