Skip to content

Commit

Permalink
Made tool definitions preprocessor directives.
Browse files Browse the repository at this point in the history
By moving tools needed from packages.config to
the build script itself, we make the build script
more portable.

Closes cake-build#854
  • Loading branch information
patriksvensson authored and ChrisMaddock committed May 5, 2016
1 parent f026528 commit af23aa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Install tools.
#tool "nuget:?package=xunit.runner.console&version=2.1.0"
#tool "nuget:?package=gitreleasemanager&version=0.4.0"
#tool "nuget:?package=GitVersion.CommandLine&version=3.4.1"

// Load other scripts.
#load "./build/parameters.cake"

//////////////////////////////////////////////////////////////////////
Expand Down
3 changes: 0 additions & 3 deletions tools/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake" version="0.10.1" />
<package id="xunit.runner.console" version="2.1.0" />
<package id="gitreleasemanager" version="0.4.0" />
<package id="GitVersion.CommandLine" version="3.4.1" />
</packages>

0 comments on commit af23aa4

Please sign in to comment.