diff --git a/.gitignore b/.gitignore index a7aeaaa..d8bd118 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.nupkg +*.lock \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..4824c48 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'rake' \ No newline at end of file diff --git a/Rakefile.rb b/Rakefile.rb new file mode 100644 index 0000000..13afe3f --- /dev/null +++ b/Rakefile.rb @@ -0,0 +1,8 @@ +# A rake task to build all packages in a folder + + desc "Build the nuget packages" + task :package do + FileList["*.nuspec"].each do |spec| + sh "nuget pack #{spec} -Version %APPVEYOR_BUILD_VERSION%" + end + end \ No newline at end of file diff --git a/SimpleAnalyzer.CSharp.nuspec b/SimpleAnalyzer.CSharp.nuspec index 55ce592..05cbba1 100644 --- a/SimpleAnalyzer.CSharp.nuspec +++ b/SimpleAnalyzer.CSharp.nuspec @@ -15,4 +15,7 @@ + + + \ No newline at end of file