This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
GColor | |
A small utility library for dealing with GColor in the new PebbleSDK. | |
---------------------- | |
The MIT License (MIT) | |
Copyright © 2015 Matthew Tole | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
from sh import karma | |
from sh import uglifyjs | |
from sh import jshint | |
top = '.' | |
out = 'build' | |
def options(ctx): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <pebble.h> | |
#include "scroll-text-layer.h" | |
#define MAX_HEIGHT 2000 | |
#define PADDING_X 4 | |
#define PADDING_Y 4 | |
struct ScrollTextLayer { | |
TextLayer* text_layer; | |
ScrollLayer* scroll_layer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Data Processor | |
* Copyright © 2014 Matthew Tole | |
***/ | |
#include <pebble.h> | |
#include "data-processor.h" | |
static char* data_start = NULL; | |
static char* data_pos = NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Font Loader | |
* Copyright © 2013 Matthew Tole | |
* | |
* 1.0.0 | |
***/ | |
#include <pebble.h> | |
#include "font-loader.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Message Queue | |
* Copyright © 2013 Matthew Tole | |
* | |
* Version 1.0.0 | |
***/ | |
#include <pebble.h> | |
#include "message-queue.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Bitmap Loader | |
* Copyright © 2013 Matthew Tole | |
* | |
* Version 2.0.2 | |
***/ | |
#include <pebble.h> | |
#include "bitmap-loader.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Clock Layer | |
* Copyright © 2013 Matthew Tole | |
***/ | |
#include <pebble.h> | |
#include "clock-layer.h" | |
struct ClockLayer { | |
TextLayer* text_layer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Pebble Assist | |
* Copyright (C) 2014 Matthew Tole | |
* | |
* Version 0.2.0 | |
***/ | |
/** | |
The MIT License (MIT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jshint js/main.js || { exit 1; } | |
jshint pebble/appinfo.json || { exit 1; } | |
uglifyjs js/libs/firebase.js js/libs/superagent.js js/main.js -o pebble/src/js/pebble-js-app.js | |
cd pebble | |
pebble clean | |
pebble build || { exit 1; } | |
rm src/js/pebble-js-app.js || { exit 1; } | |
if [ "$1" = "install" ]; then | |
pebble install --logs | |
fi |
NewerOlder