mirror of
https://github.com/google/pebble.git
synced 2025-07-18 23:55:57 +00:00
24 lines
491 B
Python
24 lines
491 B
Python
|
|
#
|
|
# 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'))
|