feat: add build script for Lampac .NET project
Signed-off-by: lampac-talks <lampac-talks@users.noreply.github.com>
This commit is contained in:
parent
e70b7f822c
commit
3abc707cc8
24
build.sh
Executable file
24
build.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Build script for Lampac .NET project
|
||||
set -e
|
||||
|
||||
echo "Building Lampac project..."
|
||||
|
||||
# Verify .NET version
|
||||
echo "Using .NET version: $(dotnet --version)"
|
||||
|
||||
# Restore dependencies
|
||||
echo "Restoring NuGet packages..."
|
||||
dotnet restore Lampac.sln
|
||||
|
||||
# Build the solution in Release mode
|
||||
echo "Building solution..."
|
||||
dotnet build Lampac.sln --configuration Release --no-restore
|
||||
|
||||
# Optional: Publish the main application
|
||||
echo "Publishing Lampac application..."
|
||||
dotnet publish Lampac/Lampac.csproj --configuration Release --output ./publish --no-build
|
||||
|
||||
echo "Build completed successfully!"
|
||||
echo "Published application available in ./publish directory"
|
||||
0
install.sh
Normal file → Executable file
0
install.sh
Normal file → Executable file
0
install_home.sh
Normal file → Executable file
0
install_home.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user