mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-15 06:02:28 +00:00
15 lines
No EOL
302 B
Bash
15 lines
No EOL
302 B
Bash
#!/bin/sh
|
|
# Build script for production
|
|
#
|
|
# No arguments
|
|
# Called manually
|
|
|
|
cd project-lighthouse || (echo "Source directory not found, pls clone properly~" && exit 1)
|
|
|
|
echo "Pulling latest changes..."
|
|
git pull
|
|
|
|
echo "Building..."
|
|
dotnet build -c Release
|
|
|
|
exit $? # Expose error code from build command |