0.0
No commit activity in last 3 years
No release in over 3 years
Guard::Xcoder performs project operations when project files are modified.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 2.0

Runtime

>= 0.10.0
 Project Readme

Guard-Xcoder

This guard uses the Xcoder to provide monitoring of your Xcode projects for changes and launch clean, build, and package actions in response.

Guard-xcoder does not simply monitor all source files within a directory, it looks at the project file and finds the source files that are specifed in a target's source build files. It also currently will rebuild when the global PCH file has been changed as well.

Install

Make sure you have guard installed.

Install the gem with:

gem install guard-xcoder

Add it to your Gemfile:

gem 'guard-xcoder'

And then add a basic setup to your Guardfile:

guard init xcoder

Usage

Cleaning, Building and Testing when anything changes for the project named 'TestProject'

guard 'xcoder', :actions => [ :clean, :build, :test ] do
  watch('TestProject')
end

Building when anything changes for the target named 'Specs' in the 'TestProject'

guard 'xcoder' :actions => [ :build ] do
  watch('TestProject//Specs')
end

Cleaning, Building, and Packaging when source files within 'AppStoreSubmission' change

guard 'xcoder' :actions => [ :clean, :build, :package ] do
  watch('TestProject//AppStoresubmission')
end

Limitations

Currently guard-xcoder does not re-evaluate the file watchers when the project file changes. This should hopefully be present in a future release.