From 2af0cc20186221fedbde36668df05773df50ee9d Mon Sep 17 00:00:00 2001
From: Thomas Voss <mail@thomasvoss.com>
Date: Fri, 9 Jun 2023 00:53:42 +0200
Subject: Add a done folder

---
 .gitignore | 1 +
 build      | 2 ++
 server.go  | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 1994ebc..ed46773 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 fonts/
+done/
 out/
 server
diff --git a/build b/build
index c5d6603..6b7fc44 100755
--- a/build
+++ b/build
@@ -413,3 +413,5 @@ wait
 
 find out -name '*.html' -and -not -name 'index.html' -delete
 rm data/tmp-data.??
+
+cp -r out done
diff --git a/server.go b/server.go
index dd73ebc..9ab243f 100644
--- a/server.go
+++ b/server.go
@@ -90,7 +90,7 @@ func main() {
 		url = "http://localhost:4729/"
 	}
 
-	if err := os.Chdir("out"); err != nil {
+	if err := os.Chdir("done"); err != nil {
 		panic(err)
 	}
 	http.HandleFunc("/", router)
-- 
cgit v1.2.3