task :install do if File.exist?(File.join('..','.git')) sh "cd .. && git submodule init" sh "cd .. && git submodule update" end sh "cd WaxSim && xcodebuild install DSTROOT=../../ INSTALL_PATH=/ext/bin" sh "cd iCuke && rake" end task :clean do sh "cd iCuke && rake clean" end task :default => :install