Permalink
Browse files

Updated build to work with NuGet disabled

  • Loading branch information...
1 parent a3ac1e8 commit fb17936de50bae2646820621a0932d303f2543bf @phatboyg phatboyg committed May 3, 2016
Showing with 5 additions and 4 deletions.
  1. +1 −1 build.bat
  2. +1 −1 src/.nuget/NuGet.targets
  3. +1 −1 src/.nuget/packages.config
  4. +2 −1 src/SolutionVersion.cs
View
@@ -1,5 +1,5 @@
@echo off
cls
If Not Exist src\.nuget\nuget.exe msbuild src\.nuget\NuGet.targets -Target:RestorePackages
-If Not Exist src\packages\FAKE\tools\fake.exe src\.nuget\nuget.exe Install FAKE -OutputDirectory "src\packages" -ExcludeVersion
+If Not Exist src\packages\FAKE\tools\fake.exe src\.nuget\nuget.exe Install FAKE -Source "https://www.nuget.org/api/v2/" -OutputDirectory "src\packages" -ExcludeVersion
src\packages\FAKE\tools\fake.exe build.fsx %*
@@ -19,8 +19,8 @@
<ItemGroup Condition=" '$(PackageSources)' == '' ">
<!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
<!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
- <!--
<PackageSource Include="https://www.nuget.org/api/v2/" />
+ <!--
<PackageSource Include="https://my-nuget-source/nuget/" />
-->
</ItemGroup>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="NUnit.Runners" version="2.6.3" />
+ <package id="NUnit.Runners" version="2.6.4" />
</packages>
@@ -6,10 +6,11 @@
[assembly: AssemblyProductAttribute("Topshelf")]
[assembly: AssemblyVersionAttribute("4.0.0.0")]
[assembly: AssemblyFileVersionAttribute("4.0.0.0")]
-[assembly: AssemblyInformationalVersionAttribute("4.0.0.0 (develop/0eec82de)")]
+[assembly: AssemblyInformationalVersionAttribute("4.0.0.0 (drb/a3ac1e81)")]
[assembly: AssemblyCopyrightAttribute("Copyright 2012 Chris Patterson, Dru Sellers, Travis Smith, All rights reserved.")]
namespace System {
internal static class AssemblyVersionInformation {
internal const string Version = "4.0.0.0";
+ internal const string InformationalVersion = "4.0.0.0 (drb/a3ac1e81)";
}
}

0 comments on commit fb17936

Please sign in to comment.