Skip to content

Commit

Permalink
Updated build to work with NuGet disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
phatboyg committed May 3, 2016
1 parent a3ac1e8 commit fb17936
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -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 %*
2 changes: 1 addition & 1 deletion src/.nuget/NuGet.targets
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/.nuget/packages.config
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 2 additions & 1 deletion src/SolutionVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.