bozo-scripts 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/bozo/compilers/msbuild.rb +22 -4
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
@@ -157,6 +157,10 @@ module Bozo::Compilers
|
|
157
157
|
@project_name = project_name
|
158
158
|
end
|
159
159
|
|
160
|
+
def name
|
161
|
+
@project_name
|
162
|
+
end
|
163
|
+
|
160
164
|
def build(configuration)
|
161
165
|
populate_config(configuration)
|
162
166
|
args = generate_args configuration
|
@@ -215,6 +219,10 @@ module Bozo::Compilers
|
|
215
219
|
File.expand_path(File.join(temp_project_path, framework_version))
|
216
220
|
end
|
217
221
|
|
222
|
+
def project_path
|
223
|
+
File.dirname(@project_file)
|
224
|
+
end
|
225
|
+
|
218
226
|
private
|
219
227
|
|
220
228
|
def remove_obj_directory
|
@@ -228,10 +236,6 @@ module Bozo::Compilers
|
|
228
236
|
File.join(project_path, 'obj')
|
229
237
|
end
|
230
238
|
|
231
|
-
def project_path
|
232
|
-
File.dirname(@project_file)
|
233
|
-
end
|
234
|
-
|
235
239
|
end
|
236
240
|
|
237
241
|
class ClassLibrary < Project
|
@@ -258,6 +262,20 @@ module Bozo::Compilers
|
|
258
262
|
config[:properties][:solutiondir] = windowsize_path(File.expand_path('.') + '//')
|
259
263
|
end
|
260
264
|
|
265
|
+
def build(configuration)
|
266
|
+
super(configuration)
|
267
|
+
|
268
|
+
unless configuration[:websites_as_zip]
|
269
|
+
log_info File.join(project_path, '**', 'Web.*.config')
|
270
|
+
Dir[File.join(project_path, '**', 'Web.*.config')].each do |source_file|
|
271
|
+
destination = File.join(temp_project_path, source_file.sub(project_path, ''))
|
272
|
+
log_info "Copying #{source_file} to #{destination}"
|
273
|
+
FileUtils.mkdir_p File.dirname(destination)
|
274
|
+
FileUtils.cp source_file, destination
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
261
279
|
end
|
262
280
|
|
263
281
|
class WebProject2008 < Project
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bozo-scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-10-
|
13
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -146,7 +146,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
segments:
|
148
148
|
- 0
|
149
|
-
hash:
|
149
|
+
hash: 777258561
|
150
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
151
|
none: false
|
152
152
|
requirements:
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
segments:
|
157
157
|
- 0
|
158
|
-
hash:
|
158
|
+
hash: 777258561
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project: bozo-scripts
|
161
161
|
rubygems_version: 1.8.29
|