Project

xclisten

0.05
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Zero configuration file watcher for Objective-C that runs tests, installs Pods each time you save a file
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0

Runtime

~> 2.4
~> 0.1
 Project Readme

XCListen

Build Status Code Climate

A zero-configuration file watcher for ObjectiveC.

It:

  • runs tests each time you save a file
  • runs pod install each time you save the Podfile
  • formats your tests with RSpec-style output using XCPretty

Installation

$ gem install xclisten

Usage

Run this command from the root of your repository:

$ xclisten

Simple, huh?

If you have an OSX project, you'll want to run it with --osx flag.

Flags

Usage: xclisten [optional flags]
        --osx                        Run with OSX sdk (without simulator)
        --ios                        [DEFAULT] Run with iOS sdk
    -d, --device                     Simulated device [iphone5s, iphone5, iphone4, ipad2, ipad4, ipad_air]. Default is iphone5s
    -s, --scheme SCHEME              BYOS (Bring your own scheme)
    -w, --workspace WORKSPACE        BYOW (Bring your own workspace)
    -h, --help                       Show this message
    -v, --version                    Show version

Something went wrong!

No worries, just tail -f xcodebuild_error.log and let us know what's happening.

Acknowledgements

This project is inspired by many general-purpose listeners out there, such as kicker and Guard.

TODO

  • Support non-cocoapods projects, when there's no .xcworkspace
  • Acceptance tests