зеркало из https://github.com/stride3d/GitLink.git
Added build scripts and updated NuGet packages
This commit is contained in:
Родитель
a0c7f7d4e0
Коммит
1b3e04c631
|
@ -6,6 +6,12 @@
|
|||
*.user
|
||||
*.sln.docstates
|
||||
|
||||
.nuget/
|
||||
tools/FAKE/
|
||||
build-log.xml
|
||||
Nuget.key
|
||||
TestResult.xml
|
||||
|
||||
# Build results
|
||||
[Bb]in/
|
||||
[Cc]lientbin/
|
||||
|
@ -16,6 +22,7 @@
|
|||
bin
|
||||
obj
|
||||
[Ll]ib/
|
||||
*.ide/
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ilk
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
@echo off
|
||||
|
||||
IF NOT "%VS110COMNTOOLS%" == "" (call "%VS110COMNTOOLS%vsvars32.bat")
|
||||
IF NOT "%VS120COMNTOOLS%" == "" (call "%VS120COMNTOOLS%vsvars32.bat")
|
||||
IF NOT "%VS130COMNTOOLS%" == "" (call "%VS130COMNTOOLS%vsvars32.bat")
|
||||
IF NOT "%VS140COMNTOOLS%" == "" (call "%VS140COMNTOOLS%vsvars32.bat")
|
||||
|
||||
|
||||
for /F %%A in ('dir /b src\*.sln') do call devenv src\%%A /build "Debug"
|
||||
pause
|
|
@ -0,0 +1,10 @@
|
|||
@echo off
|
||||
|
||||
IF NOT "%VS110COMNTOOLS%" == "" (call "%VS110COMNTOOLS%vsvars32.bat")
|
||||
IF NOT "%VS120COMNTOOLS%" == "" (call "%VS120COMNTOOLS%vsvars32.bat")
|
||||
IF NOT "%VS130COMNTOOLS%" == "" (call "%VS130COMNTOOLS%vsvars32.bat")
|
||||
IF NOT "%VS140COMNTOOLS%" == "" (call "%VS140COMNTOOLS%vsvars32.bat")
|
||||
|
||||
|
||||
for /F %%A in ('dir /b src\*.sln') do call devenv src\%%A /build "Release"
|
||||
pause
|
|
@ -43,7 +43,7 @@
|
|||
</Reference>
|
||||
<Reference Include="Catel.Core, Version=4.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\Catel.Core.4.0.0-unstable0532\lib\net45\Catel.Core.dll</HintPath>
|
||||
<HintPath>..\..\lib\Catel.Core.4.0.0\lib\net45\Catel.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework">
|
||||
<HintPath>..\..\lib\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<packages>
|
||||
<package id="ApprovalTests" version="3.0.7" targetFramework="net45" />
|
||||
<package id="ApprovalUtilities" version="3.0.7" targetFramework="net45" />
|
||||
<package id="Catel.Core" version="4.0.0-unstable0532" targetFramework="net45" />
|
||||
<package id="Catel.Core" version="4.0.0" targetFramework="net45" />
|
||||
<package id="NUnit" version="2.6.3" targetFramework="net45" />
|
||||
</packages>
|
|
@ -13,7 +13,7 @@
|
|||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>bcfb0dc6</NuGetPackageImportStamp>
|
||||
<NuGetPackageImportStamp>9d0eac53</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<ItemGroup>
|
||||
<Reference Include="Catel.Core, Version=4.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\Catel.Core.4.0.0-unstable0532\lib\net45\Catel.Core.dll</HintPath>
|
||||
<HintPath>..\..\lib\Catel.Core.4.0.0\lib\net45\Catel.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Catel.Fody.Attributes, Version=2.4.0.0, Culture=neutral, PublicKeyToken=1c8163524cbe02e6, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -127,14 +127,14 @@
|
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\..\lib\Fody.1.26.1\build\Fody.targets" Condition="Exists('..\..\lib\Fody.1.26.1\build\Fody.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\lib\Fody.1.26.1\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\lib\Fody.1.26.1\build\Fody.targets'))" />
|
||||
<Error Condition="!Exists('..\..\lib\LibGit2Sharp.0.20.0.0\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\lib\LibGit2Sharp.0.20.0.0\build\net40\LibGit2Sharp.props'))" />
|
||||
<Error Condition="!Exists('..\..\lib\Fody.1.26.2\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\lib\Fody.1.26.2\build\Fody.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\lib\Fody.1.26.2\build\Fody.targets" Condition="Exists('..\..\lib\Fody.1.26.2\build\Fody.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace GitLink
|
|||
private static readonly ILog Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
private static readonly Type SolutionParserType;
|
||||
private static readonly PropertyInfo SolutionReaderPropertyInfo;
|
||||
private static readonly PropertyInfo SolutionReaderPropertyInfo;
|
||||
private static readonly PropertyInfo ProjectsPropertyInfo;
|
||||
private static readonly MethodInfo ParseSolutionMethodInfo;
|
||||
private static readonly PropertyInfo RelativePathPropertyInfo;
|
||||
|
@ -112,7 +112,7 @@ namespace GitLink
|
|||
{
|
||||
Log.Warning("Failed to load project '{0}': {1}", projectFile, ex.Message);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Catel.Core" version="4.0.0-unstable0532" targetFramework="net45" />
|
||||
<package id="Catel.Core" version="4.0.0" targetFramework="net45" />
|
||||
<package id="Catel.Fody" version="2.4.0-unstable0001" targetFramework="net45" developmentDependency="true" />
|
||||
<package id="Costura.Fody" version="1.3.3.0" targetFramework="net45" developmentDependency="true" />
|
||||
<package id="Fody" version="1.26.1" targetFramework="net45" developmentDependency="true" />
|
||||
<package id="Fody" version="1.26.2" targetFramework="net45" developmentDependency="true" />
|
||||
<package id="LibGit2Sharp" version="0.20.0.0" targetFramework="net45" />
|
||||
</packages>
|
Загрузка…
Ссылка в новой задаче