-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.cmd
14 lines (12 loc) · 1.05 KB
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@ECHO OFF
call dotnet publish -c Release --runtime win-x64 --self-contained
call dotnet publish -c Release --runtime linux-x64 --self-contained
call dotnet publish -c Release --runtime osx-x64 --self-contained
mkdir BuildOutput
echo f | xcopy /Y "BeatmapExporterCLI\bin\Release\net6.0\win-x64\publish\BeatmapExporterCLI.exe" "BuildOutput\BeatmapExporterCLI.exe"
echo f | xcopy /Y "BeatmapExporterCLI\bin\Release\net6.0\osx-x64\publish\BeatmapExporterCLI" "BuildOutput\mac-BeatmapExporterCLI"
echo f | xcopy /Y "BeatmapExporterCLI\bin\Release\net6.0\linux-x64\publish\BeatmapExporterCLI" "BuildOutput\linux-BeatmapExporterCLI"
echo f | xcopy /Y "BeatmapExporterGUI.Desktop\bin\Release\net6.0\win-x64\publish\BeatmapExporterGUI.Desktop.exe" "BuildOutput\BeatmapExporter.exe"
echo f | xcopy /Y "BeatmapExporterGUI.Desktop\bin\Release\net6.0\osx-x64\publish\BeatmapExporterGUI.Desktop" "BuildOutput\mac-BeatmapExporter.app"
echo f | xcopy /Y "BeatmapExporterGUI.Desktop\bin\Release\net6.0\linux-x64\publish\BeatmapExporterGUI.Desktop" "BuildOutput\linux-BeatmapExporter"
pause