- Works with Ruby 1.8.6, 1.8.7, 1.9.1, 1.9.2 (and possibly others)

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@192 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
mvandervoord
2010-10-22 17:20:31 +00:00
parent 72ca191840
commit 0e12f087bd
13 changed files with 61 additions and 66 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.0 Kickstart\'
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
compiler:
path: [*tools_root, 'arm\bin\iccarm.exe']
source_path: 'src\'
+1 -2
View File
@@ -1,10 +1,9 @@
HERE = File.expand_path(File.dirname(__FILE__)) + '/'
#require HERE + 'config/environment'
require 'rake'
require 'rake/clean'
require 'rake/testtask'
require 'rakefile_helper'
require './rakefile_helper'
include RakefileHelpers
+9 -5
View File
@@ -59,12 +59,16 @@ module RakefileHelpers
end
def tackit(strings)
if strings.is_a?(Array)
result = "\"#{strings.join}\""
else
result = strings
case(strings)
when Array
"\"#{strings.join}\""
when /^-/
strings
when /\s/
"\"#{strings}\""
else
strings
end
return result
end
def squash(prefix, items)