Skip to content

Commit

Permalink
Add cloudflare build script
Browse files Browse the repository at this point in the history
  • Loading branch information
CorruptComputer committed Dec 10, 2024
1 parent 4defc72 commit 026dc45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build-cloudflare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh --channel latest --install-dir ./dotnet
./dotnet/dotnet --version
./dotnet/dotnet workload install wasm-tools

mkdir publish
./dotnet/dotnet publish Frontend/Bones.WebUI/Bones.WebUI.csproj --configuration Release --property PublishDir=/opt/buildhome/repo/publish
2 changes: 2 additions & 0 deletions update-dotnet-tools.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

cd Core/Bones.Database
dotnet tool update dotnet-ef
dotnet tool restore
Expand Down

0 comments on commit 026dc45

Please sign in to comment.