albacore 2.5.6 → 2.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07faec03f515851ac25f361b7bbb0d6ac7401901
4
- data.tar.gz: 1883a7acca5de06cd16389ce5a9760ff379786b6
3
+ metadata.gz: 7cea9701e83877d8f6a6a0ff1b03cf6edb323339
4
+ data.tar.gz: 80a334c78c0f56b9b5538fed415b217a39cfb15a
5
5
  SHA512:
6
- metadata.gz: 37f2ce80f96aa0f8ec7a4a1da9df2cdda9aa69c7ef3ab599bd2d579872016f9fa6b9890d94f9e34d80fba163b1324d359db82beedaf1ade873eca971ff68291d
7
- data.tar.gz: c39261f7f74713222d0c88865220a728a52081b39af7fa6cc5a3e75890f3e1774e9fae3cd7dcdf9944acbcbcc6e282e89f74220ed18e8db3ffcd812ad18ef58c
6
+ metadata.gz: 71a0b5d41a28ed32c2fd5b1aabffb284af293168bdac97d14b285f6d60b1c3399cf70d616b48d6e8e7079b63a179d9baaa8798a949adf507c2d1cb7ac568e4b6
7
+ data.tar.gz: 2f547c0645ac83afa2c09c727959709381a0dded7b28612372d933ad6b47697868bb66b8a2057ca0d4dcc18057ae029ebddc8e10f2b72b926dce9096833b1ac8
@@ -1,5 +1,6 @@
1
1
  require 'rake'
2
2
  require 'albacore/dsl'
3
+ require 'albacore/nuget_model'
3
4
  require 'albacore/tasks/versionizer'
4
5
  require 'map'
5
6
 
@@ -34,7 +35,7 @@ module Albacore
34
35
  include ::Rake::DSL
35
36
  include ::Albacore::DSL
36
37
 
37
- def initialize name = :release, opts = {}
38
+ def initialize name = :release, opts = {}, &block
38
39
  @name = name
39
40
  @opts = Map.new(opts).apply \
40
41
  pkg_dir: 'build/pkg',
@@ -44,6 +45,7 @@ module Albacore
44
45
  depend_on: :versioning,
45
46
  semver: nil
46
47
  semver = @opts.get :semver
48
+ @block = block if block_given?
47
49
 
48
50
  unless semver
49
51
  ::Albacore.subscribe :build_version do |data|
@@ -98,11 +100,11 @@ module Albacore
98
100
 
99
101
  def nuget_push package
100
102
  exe = @opts.get :nuget_exe
101
- api_key = @opts.get :api_key
102
- params = %W|push #{package}|
103
+ api_key = package[:api_key]
104
+ params = %W|push #{package[:path]}|
103
105
  params << api_key if api_key
104
- params << %W|-Source #{@opts.get :nuget_source}|
105
- system exe, params, clr_command: @opts.get(:clr_command)
106
+ params << %W|-Source #{package[:nuget_source]}|
107
+ system exe, params, clr_command: package[:clr_command]
106
108
  end
107
109
 
108
110
  def git_push
@@ -126,7 +128,7 @@ module Albacore
126
128
  end
127
129
 
128
130
  def guard_clean
129
- clean? && committed? or raise("There are files that need to be committed first.")
131
+ committed? or raise("There are files that need to be committed first.")
130
132
  end
131
133
 
132
134
  def guard_pkg
@@ -134,15 +136,10 @@ module Albacore
134
136
  (! packages.empty?) or \
135
137
  raise("You must have built your packages for version #{nuget_version}, use 'depend_on: :nuget_pkg'")
136
138
  (File.exists?(exe)) or raise("You don't have a NuGet.exe file to push with, expected path: #{exe}")
137
-
138
- end
139
-
140
- def clean?
141
- run('git diff --exit-code', silent: true)[1] == 0
142
139
  end
143
140
 
144
141
  def committed?
145
- run('git diff-index --quiet --cached HEAD', silent: true)[1] == 0
142
+ run('git status --porcelain', silent: true)[0] == ""
146
143
  end
147
144
 
148
145
  def tag_version
@@ -167,7 +164,19 @@ module Albacore
167
164
  # only read packages once
168
165
  path = "#{@opts.get :pkg_dir}/*.#{nuget_version}.nupkg"
169
166
  debug { "[release] looking for packages in #{path}, version #{@semver}" }
170
- @packages ||= Dir.glob path
167
+
168
+ @packages ||= Dir.glob(path).map do |f|
169
+ id = /(?<id>.*)\.#{nuget_version}/.match(File.basename(f, '.nupkg'))[:id]
170
+ package = {
171
+ path: f,
172
+ id_version: Albacore::NugetModel::IdVersion.new(id, nuget_version),
173
+ nuget_source: @opts.get(:nuget_source),
174
+ api_key: @opts.get(:api_key),
175
+ clr_command: @opts.get(:clr_command)
176
+ }
177
+ @block.call(package) if @block
178
+ package
179
+ end
171
180
  @packages
172
181
  end
173
182
 
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.5.6"
2
+ VERSION = "2.5.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albacore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.6
4
+ version: 2.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Feldt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-20 00:00:00.000000000 Z
12
+ date: 2016-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -120,74 +120,64 @@ executables:
120
120
  extensions: []
121
121
  extra_rdoc_files: []
122
122
  files:
123
+ - "./lib/albacore.rb"
124
+ - "./lib/albacore/albacore_module.rb"
125
+ - "./lib/albacore/app_spec.rb"
126
+ - "./lib/albacore/app_spec/README.md"
127
+ - "./lib/albacore/app_spec/defaults.rb"
128
+ - "./lib/albacore/app_spec/iis_site.rb"
129
+ - "./lib/albacore/application.rb"
130
+ - "./lib/albacore/cli.rb"
131
+ - "./lib/albacore/cli_dsl.rb"
132
+ - "./lib/albacore/cmd_config.rb"
133
+ - "./lib/albacore/config_dsl.rb"
134
+ - "./lib/albacore/cpack_app_spec.rb"
135
+ - "./lib/albacore/cross_platform_cmd.rb"
136
+ - "./lib/albacore/dsl.rb"
137
+ - "./lib/albacore/errors/command_failed_error.rb"
138
+ - "./lib/albacore/errors/command_not_found_error.rb"
139
+ - "./lib/albacore/errors/invalid_app_spec_error.rb"
140
+ - "./lib/albacore/errors/unfilled_property_error.rb"
141
+ - "./lib/albacore/ext/README.md"
142
+ - "./lib/albacore/ext/teamcity.rb"
143
+ - "./lib/albacore/facts.rb"
144
+ - "./lib/albacore/fpm_app_spec.rb"
145
+ - "./lib/albacore/logging.rb"
146
+ - "./lib/albacore/nuget_model.rb"
147
+ - "./lib/albacore/package.rb"
148
+ - "./lib/albacore/package_repo.rb"
149
+ - "./lib/albacore/paket.rb"
150
+ - "./lib/albacore/paths.rb"
151
+ - "./lib/albacore/project.rb"
152
+ - "./lib/albacore/rake_overrides.rb"
153
+ - "./lib/albacore/semver.rb"
154
+ - "./lib/albacore/task_types/asmver.rb"
155
+ - "./lib/albacore/task_types/asmver/cpp.rb"
156
+ - "./lib/albacore/task_types/asmver/cs.rb"
157
+ - "./lib/albacore/task_types/asmver/engine.rb"
158
+ - "./lib/albacore/task_types/asmver/file_generator.rb"
159
+ - "./lib/albacore/task_types/asmver/fs.rb"
160
+ - "./lib/albacore/task_types/asmver/vb.rb"
161
+ - "./lib/albacore/task_types/build.rb"
162
+ - "./lib/albacore/task_types/find_msbuild_versions.rb"
163
+ - "./lib/albacore/task_types/nugets.rb"
164
+ - "./lib/albacore/task_types/nugets_authentication.rb"
165
+ - "./lib/albacore/task_types/nugets_pack.rb"
166
+ - "./lib/albacore/task_types/nugets_restore.rb"
167
+ - "./lib/albacore/task_types/test_runner.rb"
168
+ - "./lib/albacore/tasks/README.md"
169
+ - "./lib/albacore/tasks/albasemver.rb"
170
+ - "./lib/albacore/tasks/projectlint.rb"
171
+ - "./lib/albacore/tasks/release.rb"
172
+ - "./lib/albacore/tasks/versionizer.rb"
173
+ - "./lib/albacore/tools.rb"
174
+ - "./lib/albacore/tools/fluent_migrator.rb"
175
+ - "./lib/albacore/tools/restore_hint_paths.rb"
176
+ - "./lib/albacore/tools/zippy.rb"
177
+ - "./lib/albacore/version.rb"
123
178
  - "./resources/chocolateyInstall.ps1"
124
179
  - "./resources/installSite.ps1"
125
- - ".gitattributes"
126
- - ".gitignore"
127
- - ".travis.yml"
128
- - Gemfile
129
- - Guardfile
130
- - README.md
131
- - Rakefile
132
- - albacore.gemspec
133
180
  - bin/albacore
134
- - lib/albacore.rb
135
- - lib/albacore/albacore_module.rb
136
- - lib/albacore/app_spec.rb
137
- - lib/albacore/app_spec/README.md
138
- - lib/albacore/app_spec/defaults.rb
139
- - lib/albacore/app_spec/iis_site.rb
140
- - lib/albacore/application.rb
141
- - lib/albacore/cli.rb
142
- - lib/albacore/cli_dsl.rb
143
- - lib/albacore/cmd_config.rb
144
- - lib/albacore/config_dsl.rb
145
- - lib/albacore/cpack_app_spec.rb
146
- - lib/albacore/cross_platform_cmd.rb
147
- - lib/albacore/dsl.rb
148
- - lib/albacore/errors/command_failed_error.rb
149
- - lib/albacore/errors/command_not_found_error.rb
150
- - lib/albacore/errors/invalid_app_spec_error.rb
151
- - lib/albacore/errors/unfilled_property_error.rb
152
- - lib/albacore/ext/README.md
153
- - lib/albacore/ext/teamcity.rb
154
- - lib/albacore/facts.rb
155
- - lib/albacore/fpm_app_spec.rb
156
- - lib/albacore/logging.rb
157
- - lib/albacore/nuget_model.rb
158
- - lib/albacore/package.rb
159
- - lib/albacore/package_repo.rb
160
- - lib/albacore/paket.rb
161
- - lib/albacore/paths.rb
162
- - lib/albacore/project.rb
163
- - lib/albacore/rake_overrides.rb
164
- - lib/albacore/semver.rb
165
- - lib/albacore/task_types/asmver.rb
166
- - lib/albacore/task_types/asmver/cpp.rb
167
- - lib/albacore/task_types/asmver/cs.rb
168
- - lib/albacore/task_types/asmver/engine.rb
169
- - lib/albacore/task_types/asmver/file_generator.rb
170
- - lib/albacore/task_types/asmver/fs.rb
171
- - lib/albacore/task_types/asmver/vb.rb
172
- - lib/albacore/task_types/build.rb
173
- - lib/albacore/task_types/find_msbuild_versions.rb
174
- - lib/albacore/task_types/nugets.rb
175
- - lib/albacore/task_types/nugets_authentication.rb
176
- - lib/albacore/task_types/nugets_pack.rb
177
- - lib/albacore/task_types/nugets_restore.rb
178
- - lib/albacore/task_types/test_runner.rb
179
- - lib/albacore/tasks/README.md
180
- - lib/albacore/tasks/albasemver.rb
181
- - lib/albacore/tasks/projectlint.rb
182
- - lib/albacore/tasks/release.rb
183
- - lib/albacore/tasks/versionizer.rb
184
- - lib/albacore/tools.rb
185
- - lib/albacore/tools/fluent_migrator.rb
186
- - lib/albacore/tools/restore_hint_paths.rb
187
- - lib/albacore/tools/zippy.rb
188
- - lib/albacore/version.rb
189
- - resources/chocolateyInstall.ps1
190
- - resources/installSite.ps1
191
181
  - spec/Rakefile
192
182
  - spec/albacore_spec.rb
193
183
  - spec/app_spec_spec.rb
@@ -1,4 +0,0 @@
1
- text eol=lf
2
-
3
- *.csproj false
4
- *.fsproj false
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- Gemfile.lock
2
- tmp/
3
- *.swp
4
- pkg/
5
- .DS_Store
6
- spec/testdata/TestingDependencies/Sample.Commands/Sample.Commands.nuspec
7
- spec/testdata/Project/Sample.Nuget.nuspec
8
- spec/testdata/TestingDependencies/Sample.Core/Sample.Core.nuspec
9
-
10
- *.userprefs
@@ -1,37 +0,0 @@
1
- # kisses and hugs to https://raw.github.com/NancyFx/Nancy/master/.travis.yml
2
-
3
- language: ruby
4
-
5
- install:
6
- - travis_retry sudo bash -c "echo deb http://badgerports.org lucid main >> /etc/apt/sources.list"
7
- - travis_retry sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E1FAD0C
8
- - travis_retry sudo apt-get update
9
- - travis_retry sudo apt-get install mono-devel mono-gmcs mono-vbnc
10
- - travis_retry sudo apt-get install gettext
11
- - travis_retry sudo wget -q -P "/opt" "http://samples.nancyfx.org/content/mono-3.0.12-x64-bin.tar.bz2"
12
- - travis_retry bundle install
13
- - echo set -e >> ./travis.sh
14
- - echo set -o pipefail >> ./travis.sh
15
- - echo echo Running on Mono 3.x >> ./travis.sh
16
- - echo sudo tar xk -C "/opt" -f /opt/mono-3.0.12-x64-bin.tar.bz2 >> ./travis.sh
17
- - echo export PATH="/opt/mono/bin:$PATH" >> ./travis.sh
18
- - echo export LD_LIBRARY_PATH="/opt/mono/bin" >> ./travis.sh
19
- - echo bundle exec rake spec >> ./travis.sh
20
- - chmod +x ./travis.sh
21
-
22
- script: ./travis.sh
23
-
24
- rvm:
25
- - 1.9.3
26
- # 2.0 seems to be experiencing issues with subclasses not saying that they respond_to(:baseclass_method)
27
- # so that's for another day to fix
28
- # - 2.0.0
29
- # - jruby
30
-
31
- branches:
32
- only: master
33
-
34
- notifications:
35
- email: henrik@haf.se
36
-
37
- gemfile: Gemfile
data/Gemfile DELETED
@@ -1,11 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Windows Rubies (RubyInstaller)
4
- platforms :mswin, :mingw do
5
- gem 'wdm' # for listening to Windows Directory Notifications
6
- end
7
-
8
- # needed to do development and read the version of albacore
9
- gem 'nokogiri', '~>1.5'
10
-
11
- gemspec
data/Guardfile DELETED
@@ -1,7 +0,0 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
- guard 'rspec', cmd: "bundle exec RAISE_DEPRECATED=true" do
4
- watch(%r{^spec/.+_spec\.rb$})
5
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
6
- end
7
-
data/README.md DELETED
@@ -1,203 +0,0 @@
1
- # Albacore v2.0
2
- [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/Albacore/albacore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3
-
4
- [![Version ](https://img.shields.io/gem/v/albacore.svg?style=flat)](https://rubygems.org/gems/albacore)
5
- [![Build Status](http://img.shields.io/travis/Albacore/albacore/master.svg?style=flat)](http://travis-ci.org/Albacore/albacore)
6
- [![Gittip ](http://img.shields.io/gittip/haf.svg?style=flat)](http://gittip.com/haf)
7
- [![Code Climate](https://img.shields.io/codeclimate/github/Albacore/albacore.svg?style=flat)](https://codeclimate.com/github/albacore/albacore)
8
-
9
- Albacore is a suite of tools for the professional .Net or mono developer that
10
- make their life easier.
11
-
12
- gem install albacore
13
-
14
- ## Main Features
15
-
16
- - Runs .Net and mono builds on OS X, Windows and Linux quick and painless
17
- - Manage xbuild/msbuild transparently
18
- - NuGet restore without intrusive .nuget target files in your project files,
19
- authentication supported
20
- - NuGet pack task types for packaging your code, supports packaging
21
- symbols/source and custom nuspecs, getting metadata from context
22
- - Declarative Rake syntax makes it easy to read Rakefiles
23
- - Most tasks, including the NuGet tasks accept an array of csproj- or fsproj-
24
- files and act on all those projects, discovering metadata from their XML.
25
- - An improved set APIs for calling operating system processes and managing them
26
- from the build script (see DSL below)
27
- - Quick and easy to turn on debugging, just set the DEBUG env var
28
- - Assembly version generation in C#, F#, C++ and VB
29
- - A copy-local test-runner for those of you with Parallels/Fusion needing to
30
- shadow-copy assemblies from a 'network drive'
31
- - An innovative `.appspec` file lets you construct IIS Site-packages with
32
- Chocolatey on Windows, Topshelf services with Chocolatey on Windows and RPM
33
- and DEB services on Linux with three lines of code - become the DevOps GOD of
34
- your company!
35
- - Transparent publish of artifacts to TeamCity with the TC extension
36
- - Unit tested, high quality Ruby code
37
- - Actively developed by [@haf](https://github.com/haf)
38
-
39
- The [wiki](https://github.com/Albacore/albacore/wiki) is the main reference for
40
- the above task types, but there's also [very
41
- extensive](http://rubydoc.info/gems/albacore/2.0.0/frames) documentation in the
42
- code, as well as hundreds of unit tests written in a easy-to-read rspec syntax.
43
-
44
- ## Quickstart TLDR; SHOW ME THE CODE!
45
-
46
- gem install albacore
47
- albacore init
48
-
49
- Now you have the initial setup and can run `bundle exec rake`. ([nokogiri error?](#error)) But please read
50
- below:
51
-
52
- ## Getting Started
53
-
54
- Follow along for a quick intro, but if on Windows, see the section 'Installing
55
- Ruby' first. Albacore works on both Ruby 1.9.3 and 2.x.
56
-
57
- First create `Gemfile` with these contents:
58
-
59
- source 'https://rubygems.org'
60
- gem 'albacore', '~> 2.0.0'
61
-
62
- When setting up your build you need to ensure it is reproducible. Bundler
63
- allows you to lock down the few gems that Albacore depend on to their specific
64
- versions, ensuring that your peers can re-run the same build script you just
65
- built and that it works well on your continous integration server.
66
-
67
- Now you can bundle the dependencies, effectively freezing all gem dependencies
68
- that your build depends on.
69
-
70
- bundle
71
- git add Gemfile*
72
- git commit -m 'Installed Albacore'
73
-
74
- Now you are ready to continue reading below for your first Rakefile.
75
-
76
- ### Installing Ruby on Windows
77
-
78
- First install Ruby **32 bits** from http://rubyinstaller.org/downloads/ - e.g. [v2.1.5
79
- 32-bits](http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5.exe?direct)
80
- which is the latest version, at time of writing.
81
-
82
- Second, install Ruby DevKit, or you won't be able to install nokogiri. Download
83
- it [lower down on the same
84
- page](http://cdn.rubyinstaller.org/archives/devkits/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe),
85
- open a console:
86
-
87
- ``` bash
88
- cd \DevKit
89
- ruby dk.rb init
90
- ruby dk.rb install
91
- ```
92
-
93
- Now close that console and open a new console, and run:
94
-
95
- gem install bundler
96
-
97
- This gives you a working ruby installation. Continue below with your first
98
- Rakefile.
99
-
100
- You can also try chocolatey [`ruby`](https://chocolatey.org/packages/ruby) and [`ruby2.devkit`](https://chocolatey.org/packages/ruby2.devkit) packages.
101
-
102
- ### Installing Ruby on OS X
103
-
104
- ``` bash
105
- brew install rbenv ruby-build
106
- rbenv install 2.2.0
107
- gem install bundler
108
- ```
109
-
110
- Done. Ensure `brew doctor` is clean enough and that `ruby --version` outputs the
111
- expected version.
112
-
113
- ## Creating Your First Rakefile
114
-
115
- In order to build your project, you need to create a `Rakefile`, with contents
116
- like these:
117
-
118
- ``` ruby
119
- require 'bundler/setup'
120
-
121
- require 'albacore'
122
- require 'albacore/tasks/versionizer'
123
- require 'albacore/ext/teamcity'
124
-
125
- Albacore::Tasks::Versionizer.new :versioning
126
-
127
- desc 'Perform fast build (warn: doesn\'t d/l deps)'
128
- build :quick_build do |b|
129
- b.logging = 'detailed'
130
- b.sln = 'src/MyProj.sln'
131
- end
132
-
133
- desc 'restore all nugets as per the packages.config files'
134
- nugets_restore :restore do |p|
135
- p.out = 'src/packages'
136
- p.exe = 'tools/NuGet.exe'
137
- end
138
-
139
- desc 'Perform full build'
140
- build :build => [:versioning, :restore] do |b|
141
- b.sln = 'src/MyProj.sln'
142
- # alt: b.file = 'src/MyProj.sln'
143
- end
144
-
145
- directory 'build/pkg'
146
-
147
- desc 'package nugets - finds all projects and package them'
148
- nugets_pack :create_nugets => ['build/pkg', :versioning, :build] do |p|
149
- p.files = FileList['src/**/*.{csproj,fsproj,nuspec}'].
150
- exclude(/Tests/)
151
- p.out = 'build/pkg'
152
- p.exe = 'tools/NuGet.exe'
153
- p.with_metadata do |m|
154
- m.description = 'A cool nuget'
155
- m.authors = 'Henrik'
156
- m.version = ENV['NUGET_VERSION']
157
- end
158
- p.with_package do |p|
159
- p.add_file 'file/relative/to/proj', 'lib/net40'
160
- end
161
- end
162
-
163
- task :default => :create_nugets
164
- ```
165
-
166
- You can now run:
167
-
168
- bundle exec rake
169
-
170
- You can continue reading about the available task-types in [the wiki][wiki].
171
-
172
- If you're upgrading from v1.0, there's an article [there for you][upgrade-v1.0]
173
-
174
- ## Contributing
175
-
176
- 1. Create a feature branch with your change:
177
- a. With unit test
178
- b. With feature
179
- 1. Send a PR with that feature branch to this branch
180
- a. Make sure TravisCI is OK with it
181
- b. Describe your PR in English.
182
-
183
- ## Writing Code
184
-
185
- 1. Add a rspec spec in specs/
186
- 1. Run `bundle exec rspec spec` to verify test fails
187
- 1. Implement feature you want
188
- 1. Run the tests again, have them pass
189
- 1. Make a PR from your feature branch against `master`
190
-
191
- Document your code with
192
- [YARD](http://rubydoc.info/gems/yard/file/docs/GettingStarted.md) as you're
193
- writing it: it's much easier to write the documentation together with the code
194
- than afterwards.
195
-
196
- [wiki]: https://github.com/Albacore/albacore/wiki
197
- [upgrade-v1.0]: https://github.com/Albacore/albacore/wiki/Upgrading-from-v1.0
198
-
199
- ### Error
200
-
201
- #### CentOS 6/7
202
-
203
- If you get a problem installing nokogiri, you have two choices: `yum install epel-release && yum install ruby rubygems-nokogiri && gem install albacore` which loads nokogiri from epel, or you could do: `yum install ruby gcc ruby-devel zlib-devel libxslt-devel libxml2-devel && gem install nokogiri` which lets rubygems compile nokogiri.
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- require 'bundler/setup'
2
- require 'rubygems/tasks'
3
- Gem::Tasks.new
4
-
5
- require 'rspec/core/rake_task'
6
- RSpec::Core::RakeTask.new(:spec) do |c|
7
- c.rspec_opts = ['--color', '--format=doc']
8
- end
9
-
10
- task :default => :build
@@ -1,37 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- $:.push File.expand_path("../lib", __FILE__)
4
- require 'albacore/version'
5
-
6
- Gem::Specification.new do |s|
7
- s.name = 'albacore'
8
- s.version = Albacore::VERSION
9
- s.platform = Gem::Platform::RUBY
10
- s.authors = ['Henrik Feldt', 'Anthony Mastrean']
11
- s.email = 'henrik@haf.se'
12
- s.homepage = 'http://albacorebuild.net'
13
- s.summary = 'Dolphin-safe and awesome Mono and .Net Rake-tasks'
14
- s.license = 'MIT'
15
- s.description = <<-EOF
16
- Easily build your .Net or Mono project using this collection of Rake tasks.
17
- Albacore assist you in creating nugets, managing nugets, building your projects,
18
- handling the .Net compilers while making it very easy to integrate your ruby-code
19
- with existing dev-ops tools, such as Puppet, Chef, Capistrano or Vagrant/VirtualBox.
20
- EOF
21
-
22
- s.rubyforge_project = 'albacore'
23
-
24
- s.add_dependency 'rake', '~> 10' # this gem builds on rake
25
- s.add_dependency 'map', '~> 6.5' # https://github.com/ahoward/map for options handling
26
- s.add_dependency 'nokogiri', '~> 1.5' # used to manipulate and read *proj files
27
- s.add_dependency 'semver2', '~> 3.4'
28
-
29
- s.add_development_dependency 'rubygems-tasks', '~>0.2'
30
- s.add_development_dependency 'rspec', '~> 3.00'
31
- s.add_development_dependency 'nuget', '~> 2.8'
32
-
33
- s.files = `git ls-files`.split("\n").concat(Dir.glob('./resources/**'))
34
- s.test_files = `git ls-files -- spec/*`.split("\n")
35
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename f }
36
- s.require_paths = %w|bin lib|
37
- end