xdjinnx / Slebble

Public transportation watchapp for Pebble smartwatch
GNU General Public License v2.0
11 stars 6 forks source link
c js pebble

Build Status

Slebble

Slebble in pebble appstore

Screenshots

![Screenshot1](https://assets.rebble.io/144x168/filters:upscale()/r5bc0YgVTFKftp8krkO2) ![Screenshot2](https://assets.rebble.io/144x168/filters:upscale()/GTcHN9N2Re21z1iLYtdg) ![Screenshot3](https://assets.rebble.io/144x168/filters:upscale()/VObN0prEQqyITXDCzcCy) ![Screenshot4](https://assets.rebble.io/144x168/filters:upscale()/QacC5MdHQ0AU8Gx66q9K)

Build & Install

You will need to download and install the Pebble SDK found on the Rebble developer website. It's also recommended that you follow the instructions found on the website.

No Pebble watch needed

There is an emulator available to use within the Pebble SDK. Instruction on how to use the emulator can be found here and how to use the settings page can be found here.

Gulp

Before you can build the application you need to run gulp. Gulp installation instructions can be found here.

Formatting

This project uses Clang-Format.

The fmt bash script should be used to keep consistency in the C code.

Testing

The Slebble js is tested using the Jest testing framework. The practices we are using when testing the private functions in the Slebble js can be found here.

Testing of the C code is for now absent. The framework that should be used to test the code is cmocka.

Sponsor

Protected by TrackJS JavaScript Error Monitoring

License

Copyright (C) 2014 - 2016  Peter Lundberg

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.