publish_native.sh
This commit is contained in:
parent
9c27744b61
commit
d9f14d3c11
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@
|
|||||||
[Oo]ut/
|
[Oo]ut/
|
||||||
[Ll]og/
|
[Ll]og/
|
||||||
[Ll]ogs/
|
[Ll]ogs/
|
||||||
|
[Pp]ublish/
|
||||||
|
|
||||||
# IDE files
|
# IDE files
|
||||||
.vs/
|
.vs/
|
||||||
|
|||||||
@ -15,6 +15,6 @@
|
|||||||
<ProjectReference Include="..\..\DTLib\DTLib\DTLib.csproj" />
|
<ProjectReference Include="..\..\DTLib\DTLib\DTLib.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
|
<ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
|
||||||
<PackageReference Include="DTLib" Version="1.1.3" />
|
<PackageReference Include="DTLib" Version="1.1.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution_files", "solution_
|
|||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
.gitignore = .gitignore
|
.gitignore = .gitignore
|
||||||
nuget.config = nuget.config
|
nuget.config = nuget.config
|
||||||
|
publish_native.sh = publish_native.sh
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DTLib", "..\DTLib\DTLib\DTLib.csproj", "{67E226B7-F04B-4FB1-A9AA-E4AE3A5A8A3F}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DTLib", "..\DTLib\DTLib\DTLib.csproj", "{67E226B7-F04B-4FB1-A9AA-E4AE3A5A8A3F}"
|
||||||
|
|||||||
@ -11,13 +11,13 @@
|
|||||||
<None Include="7z\**" CopyToOutputDirectory="PreserveNewest" />
|
<None Include="7z\**" CopyToOutputDirectory="PreserveNewest" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DTLib.Ben.Demystifier" Version="1.0.2" />
|
<PackageReference Include="DTLib.Ben.Demystifier" Version="1.0.3" />
|
||||||
<PackageReference Include="Fizzler.Systems.HtmlAgilityPack" Version="1.2.1" />
|
<PackageReference Include="Fizzler.Systems.HtmlAgilityPack" Version="1.2.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
<ProjectReference Include="..\..\DTLib\DTLib\DTLib.csproj" />
|
<ProjectReference Include="..\..\DTLib\DTLib\DTLib.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
|
<ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
|
||||||
<PackageReference Include="DTLib" Version="1.1.3" />
|
<PackageReference Include="DTLib" Version="1.1.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
18
publish_native.sh
Normal file
18
publish_native.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
function publish_aot() {
|
||||||
|
echo "---------[$1]---------"
|
||||||
|
cd "$1"
|
||||||
|
rm -rf bin/publish
|
||||||
|
dotnet publish -c Release -o bin/publish -p:PublishAot=true
|
||||||
|
mkdir -p ../publish
|
||||||
|
cp -r bin/publish/* ../publish/
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
rm -rf publish
|
||||||
|
publish_aot paradox-mod-merger
|
||||||
|
publish_aot diff-text
|
||||||
|
ls -lh publish
|
||||||
Loading…
Reference in New Issue
Block a user