mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-03 14:42:28 +00:00
14 lines
No EOL
292 B
Bash
14 lines
No EOL
292 B
Bash
# 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 |