Skip to content

Commit f56f7b2

Browse files
Added Windows build scripts
1 parent 364ace6 commit f56f7b2

4 files changed

Lines changed: 31 additions & 0 deletions

File tree

GuiStack/GuiStack.csproj

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@
1919
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2020
</None>
2121
</ItemGroup>
22+
23+
<ItemGroup>
24+
<Content Include="..\LICENSE.txt" Link="LICENSE.txt">
25+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
26+
</Content>
27+
<Content Include="..\NOTICE.txt" Link="NOTICE.txt">
28+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29+
</Content>
30+
</ItemGroup>
31+
32+
<ItemGroup>
33+
<None Include="..\scripts\default-run-windows.bat" Link="run.bat" Condition="'$(RuntimeIdentifier)'=='win-x64'">
34+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
35+
</None>
36+
</ItemGroup>
2237

2338
<PropertyGroup>
2439
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>

build-windows.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
scripts\build-win-x64.bat

scripts/build-win-x64.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
dotnet publish GuiStack.sln /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --self-contained false -c Release -r win-x64

scripts/default-run-windows.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
3+
set AWS_ACCESS_KEY_ID=localstack
4+
set AWS_SECRET_ACCESS_KEY=localstack
5+
set AWS_REGION=eu-central-1
6+
set AWS_S3_ENDPOINT_URL=http://localhost:4566
7+
set AWS_SQS_ENDPOINT_URL=http://localhost:4566
8+
set AWS_S3_FORCE_PATH_STYLE=true
9+
10+
.\GuiStack.exe

0 commit comments

Comments
 (0)