Skip to content

Commit

Permalink
Fix wscript (thanks to @ogerardin) to avoid needing two build runs
Browse files Browse the repository at this point in the history
An error in the wscript file meant the generated Javascript file
wasn't being included in the final pbw file. This change fixes
this, with thanks to Olivier Gérardin (https://github.com/ogerardin)
for highlighting the problem and identifying the fix.
  • Loading branch information
llewelld committed Mar 21, 2016
1 parent a02647d commit b2be38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def build(ctx):

# Bundle everything needed into the pbw file
ctx.set_group('bundle')
ctx.pbl_bundle(binaries=binaries, js=ctx.path.ant_glob('src/js/pebble-js-app.js'))
ctx.pbl_bundle(binaries=binaries, js='../src/js/pebble-js-app.js')

def generate_appinfo_h(task):
src = task.inputs[0].abspath()
Expand Down

0 comments on commit b2be38b

Please # to comment.