albacore 2.3.8 → 2.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a78cede1e5816508460fa6f3e7a2817ae80b2e06
4
- data.tar.gz: a5bdeddc75f7217862ae4636223fa0ebebe2844f
3
+ metadata.gz: d6b1465d92ccdc522f575eef757e4be526a8248d
4
+ data.tar.gz: 80eb85fb332afeafbc49926e591bc7af333f2ed4
5
5
  SHA512:
6
- metadata.gz: 5fb916ee2b72ca1c63ff64175132ce1b210a851e6e9b492a732bc8faa9bb4b696a1665aec207ab394574fc74f75be2e560c3dc78a91d7a018f06c79221ac60c3
7
- data.tar.gz: 5ff100dac4c11ede4e9f4ce60f7ee56535ecb151c714e78ce81dbf9ea0e58939994f03849e198ea228880ac8b1f4ecb46323aa4c262d22caa20d73e1ad52d470
6
+ metadata.gz: 8b2d3cb800a2dfbf316d0d8261a5bf775d55be554328b6851b4f3bb48f26cdfbd9a7563657d97aeeed3bb2f0da6b148087d84bd0000bf2aadea50e33b2b0c260
7
+ data.tar.gz: 32923fda4939498d3c30529d594a279b6833dcefd4f1412fb7a9724c4ca704828c0741712254ddb99a4927e2b54b58929e95a2ed400ca0c3ad2799ea9fb6ccce
@@ -93,6 +93,7 @@ obj/
93
93
  AssemblyVersionInfo.cs
94
94
  AssemblyVersionInfo.fs
95
95
  AssemblyVersionInfo.vb
96
+ build/
96
97
  }
97
98
  end
98
99
  end
@@ -107,11 +108,11 @@ AssemblyVersionInfo.vb
107
108
  require 'bundler/setup'
108
109
 
109
110
  require 'albacore'
110
- # require 'albacore/tasks/releases'
111
+ # require 'albacore/tasks/release'
111
112
  require 'albacore/tasks/versionizer'
112
113
  require 'albacore/ext/teamcity'
113
114
 
114
- Configuration = 'Release'
115
+ Configuration = ENV['CONFIGURATION'] || 'Release'
115
116
 
116
117
  Albacore::Tasks::Versionizer.new :versioning
117
118
 
@@ -130,6 +131,7 @@ end
130
131
 
131
132
  desc 'Perform fast build (warn: doesn\\'t d/l deps)'
132
133
  build :quick_compile do |b|
134
+ b.prop 'Configuration', Configuration
133
135
  b.logging = 'detailed'
134
136
  b.sln = '#{sln}'
135
137
  end
@@ -146,13 +148,15 @@ end
146
148
 
147
149
  desc 'Perform full build'
148
150
  build :compile => [:versioning, :restore, :assembly_info] do |b|
149
- b.sln = '#{sln}'
151
+ b.prop 'Configuration', Configuration
152
+ b.sln = '#{sln}'
150
153
  end
151
154
 
152
155
  directory 'build/pkg'
153
156
 
154
157
  desc 'package nugets - finds all projects and package them'
155
158
  nugets_pack :create_nugets => ['build/pkg', :versioning, :compile] do |p|
159
+ p.configuration = Configuration
156
160
  p.files = FileList['src/**/*.{csproj,fsproj,nuspec}'].
157
161
  exclude(/Tests/)
158
162
  p.out = 'build/pkg'
@@ -170,7 +174,7 @@ end
170
174
 
171
175
  namespace :tests do
172
176
  #task :unit do
173
- # system "src/MyProj.Tests/bin/\#{Configuration}"/MyProj.Tests.exe"
177
+ # system "src/MyProj.Tests/bin/\#{Configuration}/MyProj.Tests.exe", clr_command: true
174
178
  #end
175
179
  end
176
180
 
@@ -197,6 +201,7 @@ task :default => :create_nugets #, :tests ]
197
201
  def download_tool uri, file_name
198
202
  target = "./tools/#{file_name}"
199
203
 
204
+ Dir.mkdir './tools' unless Dir.exists? './tools'
200
205
  File.open(target, "wb") do |saved_file|
201
206
  open(uri, "rb") do |read_file|
202
207
  saved_file.write(read_file.read)
@@ -205,4 +210,4 @@ task :default => :create_nugets #, :tests ]
205
210
  end
206
211
  end
207
212
  end
208
- end
213
+ end
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.3.8"
2
+ VERSION = "2.3.9"
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.3.8
4
+ version: 2.3.9
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: 2014-12-18 00:00:00.000000000 Z
12
+ date: 2015-01-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake