improve: clean up
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -2,4 +2,10 @@ bin/
|
||||
obj/
|
||||
/packages/
|
||||
riderModule.iml
|
||||
/_ReSharper.Caches/
|
||||
/_ReSharper.Caches/
|
||||
Package/embedded/polonium_templates/
|
||||
Package/embedded/Patches/RegistryPassThrough.p.cs
|
||||
VersionInfo.props
|
||||
Polonium.sln.DotSettings.user
|
||||
.godot
|
||||
.idea
|
||||
13
.idea/.idea.Polonium/.idea/.gitignore
generated
vendored
13
.idea/.idea.Polonium/.idea/.gitignore
generated
vendored
@@ -1,13 +0,0 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/.idea.Hangman.SDK.iml
|
||||
/modules.xml
|
||||
/projectSettingsUpdater.xml
|
||||
/contentModel.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
4
.idea/.idea.Polonium/.idea/encodings.xml
generated
4
.idea/.idea.Polonium/.idea/encodings.xml
generated
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
||||
8
.idea/.idea.Polonium/.idea/indexLayout.xml
generated
8
.idea/.idea.Polonium/.idea/indexLayout.xml
generated
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
7
.idea/.idea.Polonium/.idea/vcs.xml
generated
7
.idea/.idea.Polonium/.idea/vcs.xml
generated
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$/../Polonium.Generators" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -48,6 +48,10 @@
|
||||
SourceFiles="$(MSBuildThisFileDirectory)editorconfig"
|
||||
DestinationFiles="$(ProjectDir).editorconfig"
|
||||
/>
|
||||
<Copy
|
||||
SourceFiles="$(MSBuildThisFileDirectory)gitignore"
|
||||
DestinationFiles="$(ProjectDir)embedded/.gitignore"
|
||||
/>
|
||||
<ItemGroup>
|
||||
<PoloniumTemplateFiles Include="$(MSBuildThisFileDirectory)embedded/polonium_templates/**/*.*" />
|
||||
</ItemGroup>
|
||||
|
||||
1
Package/build/gitignore
Normal file
1
Package/build/gitignore
Normal file
@@ -0,0 +1 @@
|
||||
*
|
||||
@@ -36,7 +36,7 @@
|
||||
<None Include="Package/build/**/*" Pack="true" PackagePath="build" />
|
||||
<None Include="Package/embedded/**/*.*" Pack="true" PackagePath="build/embedded" />
|
||||
<None Include="publish" />
|
||||
<Compile Remove="Package/**/*.*"/>
|
||||
<Compile Remove="Package/**/*.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -58,13 +58,13 @@
|
||||
<ItemGroup>
|
||||
<NuGetPackages Include="$(OutputPath)*.nupkg" />
|
||||
</ItemGroup>
|
||||
<Message Text="Printing pkgs--------------------" Importance="high"/>
|
||||
<Message Text="Pkgs: @(NuGetPackages)" Importance="high"/>
|
||||
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed"/>
|
||||
<Message Text="Printing pkgs--------------------" Importance="high" />
|
||||
<Message Text="Pkgs: @(NuGetPackages)" Importance="high" />
|
||||
<Copy SourceFiles="@(NuGetPackages)" DestinationFolder="/NuGetFeed" />
|
||||
</Target>
|
||||
<Target Name="RestoreNoCache" BeforeTargets="Build">
|
||||
<Message Text="Restoring packages with no chache" Importance="high"/>
|
||||
<Exec Command="dotnet restore --no-cache"/>
|
||||
<Message Text="Restoring packages with no chache" Importance="high" />
|
||||
<Exec Command="dotnet restore --no-cache" />
|
||||
|
||||
</Target>
|
||||
|
||||
|
||||
17
build
17
build
@@ -1,17 +0,0 @@
|
||||
#! /bin/bash
|
||||
rm -rf ~/.nuget/packages/polonium*
|
||||
cd ../Polonium.Tasks
|
||||
dotnet clean Polonium.Tasks.csproj
|
||||
dotnet restore Polonium.Tasks.csproj
|
||||
dotnet build Polonium.Tasks.csproj
|
||||
|
||||
cd ../Polonium.Generators
|
||||
dotnet clean Polonium.Generators.csproj
|
||||
dotnet restore Polonium.Generators.csproj
|
||||
dotnet build Polonium.Generators.csproj
|
||||
|
||||
cd ../Polonium
|
||||
rm -rf ~/.nuget/packages/polonium*
|
||||
dotnet clean Polonium.csproj
|
||||
dotnet restore Polonium.csproj
|
||||
dotnet build Polonium.csproj
|
||||
Reference in New Issue
Block a user