Small bug fix in build process

This commit is contained in:
Jason Streifling 2024-09-01 12:54:05 +02:00
parent da0d65d40b
commit 8147d9bef6

View File

@ -43,7 +43,9 @@ chmod +x $CPOLIS_DIR/tailwindcss
$CPOLIS_DIR/tailwindcss -i $CPOLIS_DIR/web/static/css/input.css -o $CPOLIS_DIR/web/static/css/style.css
echo '\nBuilding cpolis...' >&2
go build -o $BIN_DIR/cpolis $CPOLIS_DIR/cmd/main.go
cd $CPOLIS_DIR
go build -o $BIN_DIR/cpolis cmd/main.go
cd
echo '\nSetting up system files...' >&2
sudo chown root:root $BIN_DIR/cpolis