summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-06-09 00:53:42 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-06-09 00:53:49 +0200
commit2af0cc20186221fedbde36668df05773df50ee9d (patch)
tree4cfdff6b3603d316d40535b25be1d881f36dba94
parentdecc12d8893a7e5ac00dcd3671ae8bd918e9bfc8 (diff)
Add a done folder
-rw-r--r--.gitignore1
-rwxr-xr-xbuild2
-rw-r--r--server.go2
3 files changed, 4 insertions, 1 deletions
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)