-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement support for nullable reference variables
- Loading branch information
1 parent
700b40e
commit 4c20733
Showing
6 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ArchiSteamFarm
updated
193 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,37 @@ | ||
@echo off | ||
rem getting current dir name by Tamara Wijsman, https://superuser.com/questions/160702 | ||
for %%I in (.) do set CurrDirName=%%~nxI | ||
|
||
rem download submodule | ||
if not exist ArchiSteamFarm\ArchiSteamFarm (git submodule update --init) | ||
|
||
if [%1]==[] goto noarg | ||
rem update submodule to required tag, if specified... | ||
git submodule foreach "git fetch origin; git checkout %1;" | ||
goto continue | ||
:noarg | ||
rem ...otherwise update submodule to latest tag | ||
git submodule foreach "git fetch origin; git checkout $(git rev-list --tags --max-count=1);" | ||
del .\Ryzhehvost.CaseInsensitiveASF\*.zip | ||
:continue | ||
rem print what version we are building for | ||
git submodule foreach "git describe --tags;" | ||
|
||
rem wipe out old build | ||
if exist out rmdir /Q /S out | ||
|
||
rem release generic version | ||
|
||
dotnet publish -c "Release" -f "netcoreapp3.1" -o "out/generic" "/p:LinkDuringPublish=false" | ||
mkdir .\out\%CurrDirName% | ||
copy .\out\generic\%CurrDirName%.dll .\out\%CurrDirName% | ||
7z a -tzip -mx7 .\out\%CurrDirName%.zip .\out\%CurrDirName% | ||
rmdir /Q /S out\%CurrDirName% | ||
|
||
rem release generic-netf version | ||
rem comment section below if you don't target netf ASF version | ||
|
||
dotnet publish -c "Release" -f "net48" -o "out/generic-netf" | ||
rename .\Ryzhehvost.CaseInsensitiveASF\CaseInsensitiveASF.zip CaseInsensitiveASF-netf.zip | ||
dotnet publish -c "Release" -f "netcoreapp3.1" -o "out/generic" "/p:LinkDuringPublish=false" | ||
mkdir .\out\%CurrDirName% | ||
copy .\out\generic-netf\%CurrDirName%.dll .\out\%CurrDirName% | ||
7z a -tzip -mx7 .\out\%CurrDirName%-netf.zip .\out\%CurrDirName% | ||
rmdir /Q /S out\%CurrDirName% |