From 9d25bbc56ff1d3fe92c6ce596bff0cfc3adbf60e Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 3 Jan 2024 16:15:04 +0100 Subject: Generate index automatically --- .gitignore | 1 + bin/build | 3 ++- public/index.html | 17 ----------------- public/main.js | 51 +++++++++++++++++++++++++-------------------------- src/main.lisp | 48 +++++++++++++++++++++++++++++++++++------------- 5 files changed, 63 insertions(+), 57 deletions(-) delete mode 100644 public/index.html diff --git a/.gitignore b/.gitignore index 7e54d92..94ddc02 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +public/index.html public/songs diff --git a/bin/build b/bin/build index 3230144..fad51e3 100755 --- a/bin/build +++ b/bin/build @@ -3,5 +3,6 @@ set -euo pipefail cd "$(dirname "$0")/.." echo "Building…" -sbcl --script src/main.lisp +SONGS=$(find songs -name '*.lisp' | sort) +sbcl --script src/main.lisp $SONGS echo "Done." diff --git a/public/index.html b/public/index.html deleted file mode 100644 index df494a8..0000000 --- a/public/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - -Music - - - -

Music

- -