Skip to content

Instantly share code, notes, and snippets.

@jmarnold
Created August 26, 2013 15:10
Show Gist options
  • Save jmarnold/6342496 to your computer and use it in GitHub Desktop.
Save jmarnold/6342496 to your computer and use it in GitHub Desktop.
sample config
solution:
name 'ripple'
nuspecs 'packaging/nuget'
srcFolder 'src'
buildCmd 'rake'
fastBuildCommand 'rake compile'
constraints:
float 'current'
fixed 'current,nextMajor'
feed 'http://build.fubu-project.org/guestAuth/app/nuget/v1/FeedService.svc', mode: 'float', stability: 'released'
feed 'http://nuget.org/api/v2', mode: 'fixed', stability: 'released'
nuget 'FubuCore', version: '~>1.1.0'
nuget 'NuGet.Core', version: '2.5.0', mode: 'fixed'
nuget 'NUnit', version: '2.5.10.11092', mode: 'fixed'
nuget 'RhinoMocks', version: '3.6.1', mode: 'fixed'
nuget 'structuremap', version: '2.6.3', mode: 'fixed'
nuget 'structuremap.automocking', version: '~>1.1.0', mode: 'fixed'
@mkmurray
Copy link

What is the ~> syntax? A min version? Or is version with float a min version?

@ventaur
Copy link

ventaur commented Sep 13, 2013

I believe that is Ruby/Gem version syntax for greater than or equal to the release (or last digit in the version).

@jmarnold
Copy link
Author

You're right, Matt. It's going to give you tighter control over both floats and fixed dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment