nbuild 0.0.5 → 0.0.6

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.
@@ -16,7 +16,7 @@ module Nbuild
16
16
  raise 'msbuild: a project or solution parameter is required' unless project
17
17
  targets = p.delete(:targets)
18
18
  t = "/t:#{targets.join(';')}" if targets
19
- properties = p.map {|k,v| "/p:#{k}=#{v}"}
19
+ properties = p.map {|k,v| "/p:\"#{k}\"=\"#{v}\""}
20
20
  "\"#{@path}\\msbuild.exe\" #{project} #{t} #{properties.join(' ')}"
21
21
  end
22
22
  end
@@ -32,4 +32,7 @@ module Nbuild
32
32
  def msbuild35_command params
33
33
  msbuild_command params.merge(:framework_version => '3.5')
34
34
  end
35
+
36
+ alias msbuild2 msbuild2_command
37
+ alias msbuild35 msbuild35_command
35
38
  end
@@ -18,4 +18,6 @@ module Nbuild
18
18
  def mstest_command params={}
19
19
  MSTestCmd.new(params).execute
20
20
  end
21
+
22
+ alias mstest mstest_command
21
23
  end
@@ -13,7 +13,7 @@ module Nbuild
13
13
  end
14
14
  end
15
15
 
16
- def NDependCmd params={}
16
+ def ndepend params={}
17
17
  NDependCmd.new(params).execute
18
18
  end
19
- end
19
+ end
data/lib/nbuild/tf.rb CHANGED
@@ -27,4 +27,8 @@ module Nbuild
27
27
  lines
28
28
  end
29
29
  end
30
- end
30
+
31
+ def tfs
32
+ TFS.new
33
+ end
34
+ end
@@ -28,11 +28,7 @@ module Nbuild
28
28
  end
29
29
  end
30
30
 
31
- def visual_studio_command params={}
32
- VisualStudioCmd.new(params).execute
33
- end
34
-
35
- def visual_studio_2008_command params={}
36
- msbuild_command params.merge(:version => '9.0')
31
+ def vs2008 params={}
32
+ VisualStudioCmd.new(params.merge(:version => '9.0')).execute
37
33
  end
38
34
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Ryall
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-18 00:00:00 +11:00
17
+ date: 2010-03-31 00:00:00 +11:00
18
18
  default_executable:
19
19
  dependencies: []
20
20