Fixed bug where tailwindcss was using a relative path

This commit is contained in:
Jason Streifling 2024-08-23 21:14:25 +02:00
parent 806cfb01bd
commit 6a4a592714

View File

@ -40,7 +40,7 @@ curl -s $TAILWINDCSS_REPO_URL |
cut -d'"' -f4 |
xargs -r curl -Lo $CPOLIS_DIR/tailwindcss
chmod +x $CPOLIS_DIR/tailwindcss
$CPOLIS_DIR/tailwindcss -i web/static/css/input.css -o web/static/css/style.css
$CPOLIS_DIR/tailwindcss -i $CPOLIS_DIR/web/static/css/input.css -o $CPOLIS_DIR/web/static/css/style.css
echo -e 'Building cpolis...' >&2
go build -o $TMP_DIR/cpolis $CPOLIS_DIR/cmd/main.go