Helper library to simplify the use of nuget in a mixed os environment. It uses nuget.
Installation
Add this line to your application's Gemfile:
gem 'nuget_helper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nuget_helper
Usage
desc "Install missing NuGet packages."
task :install_packages do
NugetHelper.exec("restore LogViewer.sln")
end
To test together with albacore
desc "test using console"
test_runner :test => [:build] do |runner|
runner.exe = NugetHelper.nunit_path
files = Dir.glob(File.join($dir,"*Tests","bin","**","*Tests.dll"))
runner.files = files
end
Contributing
- Fork it ( https://github.com/wallymathieu/nuget_helper/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request