forked from AutoDarkMode/Windows-Auto-Night-Mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.bat
11 lines (10 loc) · 998 Bytes
/
publish.bat
1
2
3
4
5
6
7
8
9
10
11
REM RUST BUILD AND PUBLISH
cargo build --release --manifest-path adm-updater-rs\Cargo.toml
if not exist bin\Publish\updater mkdir bin\Publish\adm-updater
copy adm-updater-rs\target\release\adm-updater-rs.exe bin\Publish\adm-updater\AutoDarkModeUpdater.exe
copy adm-updater-rs\license.html bin\Publish\adm-updater\license.html
REM DOTNET BUILD AND PUBLISH
call dotnet publish AutoDarkModeApp\AutoDarkModeApp.csproj /p:PublishProfile=$(SolutionDir)AutoDarkModeApp\Properties\PublishProfiles\AppPublish.pubxml
call dotnet publish AutoDarkModeSvc\AutoDarkModeSvc.csproj /p:PublishProfile=$(SolutionDir)\AutoDarkModeSvc\Properties\PublishProfiles\ServicePublish.pubxml
call dotnet publish AutoDarkModeShell\AutoDarkModeShell.csproj /p:PublishProfile=$(SolutionDir)\AutoDarkModeShell\Properties\PublishProfiles\FolderProfile.pubxml
REM call dotnet publish AutoDarkModeUpdater\AutoDarkModeupdater.csproj /p:PublishProfile=$(SolutionDir)\AutoDarkModeupdater\Properties\PublishProfiles\FolderProfile.pubxml