albacore 2.3.8 → 2.3.9
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 +4 -4
- data/lib/albacore/cli.rb +10 -5
- data/lib/albacore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6b1465d92ccdc522f575eef757e4be526a8248d
|
4
|
+
data.tar.gz: 80eb85fb332afeafbc49926e591bc7af333f2ed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b2d3cb800a2dfbf316d0d8261a5bf775d55be554328b6851b4f3bb48f26cdfbd9a7563657d97aeeed3bb2f0da6b148087d84bd0000bf2aadea50e33b2b0c260
|
7
|
+
data.tar.gz: 32923fda4939498d3c30529d594a279b6833dcefd4f1412fb7a9724c4ca704828c0741712254ddb99a4927e2b54b58929e95a2ed400ca0c3ad2799ea9fb6ccce
|
data/lib/albacore/cli.rb
CHANGED
@@ -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/
|
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.
|
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}
|
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
|
data/lib/albacore/version.rb
CHANGED
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.
|
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:
|
12
|
+
date: 2015-01-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|