From 43f59a9737e3f157c707c6868314bbfa77d4a005 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Thu, 23 Jan 2014 13:02:16 +0100 Subject: init --- wscript | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 wscript (limited to 'wscript') 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')) -- cgit v1.2.3