Skip to content

Commit

Permalink
try manual install dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
btruncali1 committed Feb 4, 2025
1 parent d5136a6 commit e24a2ca
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scripts/build
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
#!/usr/bin/env bash
set -e

# Ensure required dependencies are installed
sudo apt-get update
sudo apt-get install -y libssl-dev libicu-dev

# Set the environment variable for globalization invariant mode
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

# Restore NuGet packages
dotnet restore

if ! command -v dotnet-format; then
if ! command -v dotnet-format &> /dev/null; then
echo "Installing dotnet formatter..."
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
dotnet tool install -g dotnet-format --version 4.0.0
fi


dotnet build
# Build the project
dotnet build

0 comments on commit e24a2ca

Please sign in to comment.