Skip to content

Commit

Permalink
bezel: Fix the serve script for the new setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 committed Apr 26, 2024
1 parent d57b56b commit 23f43a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bezel/serve.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash
[ ! -d "Output" ] && swift run
python3 -m http.server --directory Output 8000
[ ! -d "Output" ] && ./build.sh
SERVE_DIR=`mktemp -d`
ln -s "$(realpath Output)" $SERVE_DIR/bezel
python3 -m http.server --directory $SERVE_DIR 8000
rm -rf $SERVE_DIR

0 comments on commit 23f43a2

Please sign in to comment.