diff --git a/.gitignore b/.gitignore index e69de29..4469086 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +dist.html diff --git a/justfile b/justfile new file mode 100644 index 0000000..7f9fec4 --- /dev/null +++ b/justfile @@ -0,0 +1,11 @@ +deploy_dir := "/var/www/html/dungeon.red/fantasyland" + +default: deploy + +compile: + bunx inline-source-cli index.html dist.html + +deploy: compile + mkdir -p {{deploy_dir}} + cp dist.html {{deploy_dir}}/index.html + @echo "deployed to {{deploy_dir}}/index.html"