add: dissolve scene / nuget feed source
This commit is contained in:
8
NuGet.config
Normal file
8
NuGet.config
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="hangman-lab" value="https://git.hangman-lab.top/api/packages/hzhang/nuget/index.json"/>
|
||||||
|
<add key="Local" value="/NuGetFeed"/>
|
||||||
|
</packageSources>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
@@ -9,9 +9,10 @@
|
|||||||
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
|
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
|
||||||
<IsRoslynComponent>true</IsRoslynComponent>
|
<IsRoslynComponent>true</IsRoslynComponent>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<Version>0.0.5</Version>
|
<Version>0.1.1-x</Version>
|
||||||
<Authors>Hangman</Authors>
|
<Authors>Hangman</Authors>
|
||||||
<PackageId>Polonium.Generators</PackageId>
|
<PackageId>Polonium.Generators</PackageId>
|
||||||
|
<DisableImplicitRestore>true</DisableImplicitRestore>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -24,8 +25,26 @@
|
|||||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.0"/>
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.0"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<Target Name="CleanPreviousPackages" BeforeTargets="Build">
|
||||||
<Content Include="Polonium.Generators.sln.DotSettings.user" />
|
<ItemGroup>
|
||||||
</ItemGroup>
|
<ExistingPackages Include="$(OutputPath)../*.nupkg"/>
|
||||||
|
</ItemGroup>
|
||||||
|
<Delete Files="@(ExistingPackages)" ContinueOnError="true"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="CopyPackageToLocalFeed" AfterTargets="Pack">
|
||||||
|
<Message Text="Executing Copy Pack Task" Importance="high" />
|
||||||
|
<Message Text="OutputPath: $(ProjectDir)$(OutputPath)" Importance="high" />
|
||||||
|
<ItemGroup>
|
||||||
|
<NuGetPackages Include="$(OutputPath)../*.nupkg" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Message Text="Printing pkgs--------------------" Importance="high"/>
|
||||||
|
<Message Text="Pkgs: @(NuGetPackages)" Importance="high"/>
|
||||||
|
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="RestoreNoCache" BeforeTargets="Restore">
|
||||||
|
<Message Text="Restoring packages with no chache" Importance="high"/>
|
||||||
|
<Exec Command="dotnet restore --no-cache"/>
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user