0.0
No commit activity in last 3 years
No release in over 3 years
Guard::Cedar automatically runs your Cedar suite.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
 Project Readme

Guard::Cedar Build Status Dependency Status Code Climate

guard-cedar automatically recompiles your source and launches the Cedar spec runner application when files are modified.

Install

Please be sure to have Guard installed before continue.

Install the gem:

$ gem install guard-cedar

Add it to your Gemfile (inside development group):

group :development do
  gem 'guard-cedar'
end

Add guard definition to your Guardfile by running this command:

$ guard init cedar

You will need to edit the Guardfile

guard 'cedar', :project_path => 'YourProject.xcodeproject', :target => 'YourSpecs' do
  watch(%r{^YourSpecs/.+Spec\.mm$})
  watch(%r{^YourProject/.+(\.m|\.h)$})
end

Options

By default, Guard::Cedar builds a Release configuration, which you can override with the :configuration option:

guard 'cedar', :configuration => 'Debug' do
  # ...
end

Guard::Cedar can build against another version of the iOS SDK if you set the :sdk_version option:

guard 'cedar', :sdk_version => '7.0' do
  # ...
end

If you want to set an environment variable, you can configure :env option with a hash:

guard 'cedar', :env => {'CEDAR_REPORTER_OPTS' => 'nested'} do
  # ...
end

Usage

Please read Guard usage doc

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Send me a pull request. Bonus points for topic branches.

Thanks and Attribution

License

See LICENSE for more information.