[mod] tools:run

This commit is contained in:
roydfalk 2024-04-22 10:19:47 +02:00
parent e73424e2f2
commit 54b94b1c58

View file

@ -1,5 +1,13 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
## args
if [ $# -ge 1 ] ; then port=$1 ; else port=8888 ; fi
## exec
cd build
web-server . 8888
cd -
python3 -m http.server ${port}
cd - > /dev/null