bake-toolkit 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/bake/subst.rb CHANGED
@@ -63,6 +63,12 @@ module Cxxproject
63
63
  substStr << @@artifactName
64
64
  elsif var == "ArtifactNameBase"
65
65
  substStr << @@artifactName.chomp(File.extname(@@artifactName))
66
+ elsif var == "/"
67
+ if Cxxproject::OS.windows?
68
+ substStr << "\\"
69
+ else
70
+ substStr << "/"
71
+ end
66
72
  elsif ENV[var]
67
73
  substStr << ENV[var]
68
74
  elsif var == "PATH_TO_CYGWIN" # allowed to be not set
data/lib/bake/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Cxxproject
2
2
  class Version
3
3
  def self.bake
4
- "1.0.6"
4
+ "1.0.7"
5
5
  end
6
6
  end
7
7
 
data/lib/tocxx.rb CHANGED
@@ -512,16 +512,6 @@ module Cxxproject
512
512
  bbModule.contents.each do |c|
513
513
  if Cxxproject::CommandLine === c
514
514
  cmdLine = convPath(c.get_command_line, config, bbModule.main_content)
515
- if Cxxproject::OS.windows? # CommandLine "tool/abc.exe gaga" does not work --> / must be \\
516
- maxPos = cmdLine.index(" ")
517
- indexQuote = cmdLine.index("\"")
518
- if indexQuote != nil and (maxPos == nil or indexQuote < maxPos)
519
- maxPos = indexQuote
520
- end
521
- if maxPos != nil
522
- cmdLine = cmdLine[0..maxPos-1].gsub("/","\\") + cmdLine[maxPos..-1]
523
- end
524
- end
525
515
  c.set_command_line(cmdLine)
526
516
  end
527
517
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.6
5
+ version: 1.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alexander Schaal
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-01-21 00:00:00 Z
13
+ date: 2013-02-14 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cxxproject