Skip to content

Commit

Permalink
Merge pull request #283 from jonah-williams/tests_support_paths_with_…
Browse files Browse the repository at this point in the history
…spaces

[FIX] Quote paths in test/Rakefile. (Jonah Williams)
  • Loading branch information
rentzsch committed May 13, 2015
2 parents a7fcd23 + 70237a8 commit f0d9b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Rakefile
Expand Up @@ -17,8 +17,8 @@ def gen_and_compile(desc, mogenPath, extra_mogen_args, extra_gcc_args)
ENV['MOMC_NO_INVERSE_RELATIONSHIP_WARNINGS'] = '1'
run_or_die "#{mogenPath.gsub(/ /, '\\ ')} --model test.xcdatamodel --output MOs --baseClass MyBaseClass #{extra_mogen_args}"
run_or_die 'cp HumanMO.h HumanMO.m MyProtocol.h TestProtocol.m MOs'
run_or_die "clang -o testbin test.m MyBaseClass.m Gender.m MOs/*.m -I#{Dir.pwd} -framework Foundation -framework Cocoa -framework CoreData -fmodules #{extra_gcc_args}"
run_or_die "xcrun momc -MOMC_NO_INVERSE_RELATIONSHIP_WARNINGS test.xcdatamodel #{Dir.pwd}/test.mom"
run_or_die "clang -o testbin test.m MyBaseClass.m Gender.m MOs/*.m -I\"#{Dir.pwd}\" -framework Foundation -framework Cocoa -framework CoreData -fmodules #{extra_gcc_args}"
run_or_die "xcrun momc -MOMC_NO_INVERSE_RELATIONSHIP_WARNINGS test.xcdatamodel \"#{Dir.pwd}/test.mom\""
puts run_or_die './testbin'
end

Expand Down

0 comments on commit f0d9b7d

Please sign in to comment.