albacore 2.5.11 → 2.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/albacore/dsl.rb +24 -24
- 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: dbf71906ea8eeab433592c854a403b97b1bcfaea
|
4
|
+
data.tar.gz: 980b27f70250bc60305ed328ffdb50e4227d2281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9871075e9618870e8c3f740488ac5ab8a227a2fb71cd4966f69c8e07b2341c01d8592fa9139d26ada8316e01b7fff623e803d6b33c1cafb95de946c17dda1c0a
|
7
|
+
data.tar.gz: 0766247b5d3e4561f8ec0dd2545ba72e25e62beb9f92d86b05100fc69d2a3751608aa0f165496cebc54600bbea181eabeb8c5b26b476cdc80fc461f47dfaf095
|
data/lib/albacore/dsl.rb
CHANGED
@@ -12,18 +12,18 @@ module Albacore
|
|
12
12
|
# a rake task type for outputting assembly versions
|
13
13
|
def asmver *args, &block
|
14
14
|
require 'albacore/task_types/asmver'
|
15
|
-
Albacore.define_task *args do
|
15
|
+
Albacore.define_task *args do |task_name, own_args|
|
16
16
|
c = Albacore::Asmver::Config.new
|
17
|
-
yield c
|
17
|
+
yield c, own_args
|
18
18
|
Albacore::Asmver::Task.new(c.opts).execute
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
22
|
def asmver_files *args, &block
|
23
23
|
require 'albacore/task_types/asmver'
|
24
|
-
Albacore.define_task *args do
|
24
|
+
Albacore.define_task *args do |task_name, own_args|
|
25
25
|
c = Albacore::Asmver::MultipleFilesConfig.new
|
26
|
-
yield c
|
26
|
+
yield c, own_args
|
27
27
|
|
28
28
|
c.configurations.each do |conf|
|
29
29
|
trace { "generating asmver for #{conf}" }
|
@@ -36,9 +36,9 @@ module Albacore
|
|
36
36
|
# with MsBuild
|
37
37
|
def build *args, &block
|
38
38
|
require 'albacore/task_types/build'
|
39
|
-
Albacore.define_task *args do
|
39
|
+
Albacore.define_task *args do |task_name, own_args|
|
40
40
|
c = Albacore::Build::Config.new
|
41
|
-
yield c
|
41
|
+
yield c, own_args
|
42
42
|
|
43
43
|
fail "unable to find MsBuild or XBuild" unless c.exe
|
44
44
|
command = Albacore::Build::Cmd.new(c.work_dir, c.exe, c.parameters)
|
@@ -49,9 +49,9 @@ module Albacore
|
|
49
49
|
# restore the nugets to the solution
|
50
50
|
def nugets_restore *args, &block
|
51
51
|
require 'albacore/task_types/nugets_restore'
|
52
|
-
Albacore.define_task *args do
|
52
|
+
Albacore.define_task *args do |task_name, own_args|
|
53
53
|
c = Albacore::NugetsRestore::Config.new
|
54
|
-
yield c
|
54
|
+
yield c, own_args
|
55
55
|
|
56
56
|
c.ensure_authentication!
|
57
57
|
|
@@ -65,9 +65,9 @@ module Albacore
|
|
65
65
|
# pack nugets
|
66
66
|
def nugets_pack *args, &block
|
67
67
|
require 'albacore/task_types/nugets_pack'
|
68
|
-
Albacore.define_task *args do
|
68
|
+
Albacore.define_task *args do |task_name, own_args|
|
69
69
|
c = Albacore::NugetsPack::Config.new
|
70
|
-
yield c
|
70
|
+
yield c, own_args
|
71
71
|
Albacore::NugetsPack::ProjectTask.new(c.opts).execute
|
72
72
|
end
|
73
73
|
end
|
@@ -76,9 +76,9 @@ module Albacore
|
|
76
76
|
# tests with albacore
|
77
77
|
def test_runner *args, &block
|
78
78
|
require 'albacore/task_types/test_runner'
|
79
|
-
Albacore.define_task *args do
|
79
|
+
Albacore.define_task *args do |task_name, own_args|
|
80
80
|
c = Albacore::TestRunner::Config.new
|
81
|
-
yield c
|
81
|
+
yield c, own_args
|
82
82
|
Albacore::TestRunner::Task.new(c.opts).execute
|
83
83
|
end
|
84
84
|
end
|
@@ -86,9 +86,9 @@ module Albacore
|
|
86
86
|
# Restore hint paths to registered nugets
|
87
87
|
def restore_hint_paths *args, &block
|
88
88
|
require 'albacore/tools/restore_hint_paths'
|
89
|
-
Albacore.define_task *args do
|
89
|
+
Albacore.define_task *args do |task_name, own_args|
|
90
90
|
c = Albacore::RestoreHintPaths::Config.new
|
91
|
-
yield c
|
91
|
+
yield c, own_args
|
92
92
|
|
93
93
|
t = Albacore::RestoreHintPaths::Task.new c
|
94
94
|
t.execute
|
@@ -99,16 +99,16 @@ module Albacore
|
|
99
99
|
def appspecs *args, &block
|
100
100
|
if Albacore.windows?
|
101
101
|
require 'albacore/cpack_app_spec'
|
102
|
-
Albacore.define_task *args do
|
102
|
+
Albacore.define_task *args do |task_name, own_args|
|
103
103
|
c = ::Albacore::CpackAppSpec::Config.new
|
104
|
-
yield c
|
104
|
+
yield c, own_args
|
105
105
|
::Albacore::CpackAppSpec::Task.new(c.opts).execute
|
106
106
|
end
|
107
107
|
else
|
108
108
|
require 'albacore/fpm_app_spec'
|
109
|
-
Albacore.define_task *args do
|
109
|
+
Albacore.define_task *args do |task_name, own_args|
|
110
110
|
c = ::Albacore::FpmAppSpec::Config.new
|
111
|
-
yield c
|
111
|
+
yield c, own_args
|
112
112
|
::Albacore::FpmAppSpec::Task.new(c.opts).execute
|
113
113
|
end
|
114
114
|
end
|
@@ -118,9 +118,9 @@ module Albacore
|
|
118
118
|
# with SqlPackage
|
119
119
|
def sql_package *args, &block
|
120
120
|
require 'albacore/task_types/sql_package'
|
121
|
-
Albacore.define_task *args do
|
121
|
+
Albacore.define_task *args do |task_name, own_args|
|
122
122
|
c = Albacore::SqlPackage::Config.new
|
123
|
-
yield c
|
123
|
+
yield c, own_args
|
124
124
|
|
125
125
|
fail "SqlPackage.exe is not installed.\nPlease download and install Microsoft SSDT: https://msdn.microsoft.com/en-us/library/mt204009.aspx\nAnd add the location of SqlPackage.exe to the PATH system varible." unless c.exe
|
126
126
|
|
@@ -133,9 +133,9 @@ module Albacore
|
|
133
133
|
# with Sql
|
134
134
|
def sql_cmd *args, &block
|
135
135
|
require 'albacore/task_types/sql_cmd'
|
136
|
-
Albacore.define_task *args do
|
136
|
+
Albacore.define_task *args do |task_name, own_args|
|
137
137
|
c = Albacore::Sql::Config.new
|
138
|
-
yield c
|
138
|
+
yield c, own_args
|
139
139
|
Albacore::Sql::SqlTask.new(c.work_dir, c.opts).execute
|
140
140
|
end
|
141
141
|
end
|
@@ -144,9 +144,9 @@ module Albacore
|
|
144
144
|
# with IsPackage
|
145
145
|
def is_package *args, &block
|
146
146
|
require 'albacore/task_types/is_package'
|
147
|
-
Albacore.define_task *args do
|
147
|
+
Albacore.define_task *args do |task_name, own_args|
|
148
148
|
c = Albacore::IsPackage::Config.new
|
149
|
-
yield c
|
149
|
+
yield c, own_args
|
150
150
|
|
151
151
|
fail "IsPackage.exe is not installed.\nPlease download and install Microsoft SSDT-BI: https://msdn.microsoft.com/en-us/library/mt674919.aspx\nAnd add the location of IsPackage.exe to the PATH system varible." unless c.exe
|
152
152
|
|
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.5.
|
4
|
+
version: 2.5.13
|
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: 2016-
|
12
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|