From 8d4331cd093171fee63860b245eed8dced343a1a Mon Sep 17 00:00:00 2001 From: Torrey Teats Date: Tue, 7 Jan 2014 21:37:05 -0500 Subject: [PATCH] base changes needed to compile for v2 beta 4 --- .gitignore | 4 ++++ appinfo.json | 11 ++++------- wscript | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 .gitignore create mode 100644 wscript diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9be6380 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/build/* +/.cproject +/.lock-waf_linux2_build +/.project diff --git a/appinfo.json b/appinfo.json index 0cb3b01..dbfe590 100644 --- a/appinfo.json +++ b/appinfo.json @@ -1,14 +1,11 @@ { - "versionLabel": "2.0", "uuid": "11a1cb08-065f-491e-82c4-83b9f9cb042c", - "appKeys": {}, - "longName": "Stopwatch", - "versionCode": 2, - "capabilities": [ - "" - ], "shortName": "Stopwatch", + "longName": "Stopwatch", "companyName": "Katharine Berry", + "appKeys": {}, + "versionCode": 2, + "versionLabel": "2.0.0", "watchapp": { "watchface": false }, diff --git a/wscript b/wscript new file mode 100644 index 0000000..0554dc8 --- /dev/null +++ b/wscript @@ -0,0 +1,24 @@ + +# +# This file is the default set of rules to compile a Pebble project. +# +# Feel free to customize this to your needs. +# + +top = '.' +out = 'build' + +def options(ctx): + ctx.load('pebble_sdk') + +def configure(ctx): + ctx.load('pebble_sdk') + +def build(ctx): + ctx.load('pebble_sdk') + + ctx.pbl_program(source=ctx.path.ant_glob('src/**/*.c'), + target='pebble-app.elf') + + ctx.pbl_bundle(elf='pebble-app.elf', + js=ctx.path.ant_glob('src/js/**/*.js'))