Project

pebblex

0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Creates an Xcode project from a pebble project that contains the needed search paths, resources and .c files to start right away. Each time you build your watch app from the IDE, all warnings and errors of the underlying ´pebble build` command will be presented right in the editor. With AppCode you can even build, install the .pbw to your watch, and look at the live logs as a one-step action directly from your IDE!
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
~> 2.14

Runtime

~> 0.18.1
~> 0.14.1
 Project Readme

PebbleX Build StatusGem Version

A small command line tool to use Xcode and AppCode as development environment for the Pebble smartwatch SDK. It's based on the SDK's official pebble command that steadily evolves and might contain some of the functionality pebblex introduces by itself in the future. Ideally, there will be no need for pebblex at some point, anymore.

Background

The Pebble SDK comes with a powerful command line tool pebble to create, build and analyze pebble projects. Unfortunately, there's no development environment for the created project structure.

With the help of pebblex you can take advantage of Xcode or AppCode to develop your Pebble watch faces or apps directly from a convenient IDE. The command line tool will create a .xcodeproj that contains the needed search paths, resources and .c files to start right away. Each time you build your watch app from the IDE, all warnings and errors of the underlying ´pebble build` command will be presented right in the editor.

With AppCode (or the latest Xcode6-Beta) you can even build, install the .pbw to your watch, and look at the live logs as a one-step action directly from your IDE!

Installation

Install the Ruby Gem:

gem install pebblex

Usage

After creating a new pebble project (as described in the Pebble tutorial)

pebble new-project hello_world
cd hello_world

you can easily create an Xcode project file

pebblex xcode
open hello_world.xcodeproj

As part of the project file, pebblex xcode will create a target "Pebble" that builds your project right from the IDE. After each build, all warnings and errors will be propagated back right into your editor.

Lucky AppCode (and now Xcode6-beta) users: pebblex automatically creates a run configuration to build, deploy and look at the logs directly from the IDE! Make sure to set PEBBLE_PHONE before you push the play button.

Contributing

  1. Fork it ( https://github.com/HBehrens/pebblex/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make sure to test your changes (rake spec)
  4. Build and try PebbleX locally (rake build && rake install)
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create a new Pull Request