| 12 | 12 |
deleted file mode 100644 |
| ... | ... |
@@ -1,8 +0,0 @@ |
| 1 |
-argv = ['/home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/waf', 'configure'] |
|
| 2 |
-environ = {'WSL_INTEROP': '/run/WSL/8_interop', 'PEBBLE_TOOLCHAIN_PATH': '/home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin', 'WSL_DISTRO_NAME': 'Ubuntu-18.04', 'HOSTTYPE': 'x86_64', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'louis', 'USER': 'louis', 'NO_GCE_CHECK': 'False', 'PATH': '/home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin:/home/louis/pebble-dev/pebble-sdk-4.5-linux64/bin:/home/louis/pebble-dev/pebble-sdk-4.5-linux64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/snap/bin', 'HOME': '/home/louis', 'WT_SESSION': '9030c9e2-93f1-4eaa-8bba-277478f25adb', '_': '/home/louis/pebble-dev/pebble-sdk-4.5-linux64/.env/bin/python', 'LANG': 'C.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'NAME': 'WIN10PC0V1J85', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'OLDPWD': '/home/louis', 'PYTHONHOME': '/home/louis/.pebble-sdk/SDKs/current/sdk-core/../.env', 'NODE_PATH': '/home/louis/.pebble-sdk/SDKs/current/sdk-core/../node_modules', 'WT_PROFILE_ID': '{08653a3f-078e-44fe-9731-c998995f4648}', 'SHLVL': '2', 'PWD': '/home/louis/repos/synocam_home_switch', 'WSLENV': 'WT_SESSION::WT_PROFILE_ID', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'PHONESIM_PATH': '/home/louis/pebble-dev/pebble-sdk-4.5-linux64/.env//bin/pypkjs', 'NOCLIMB': '1'}
|
|
| 3 |
-files = ['/mnt/c/Users/louisj/repos/synocam_home_switch/wscript'] |
|
| 4 |
-hash = -2431564940392307765 |
|
| 5 |
-options = {'files': '', 'jobs': 4, 'verbose': 0, 'nocache': False, 'progress_bar': 0, 'no_groups': False, 'distcheck_args': None, 'top': '', 'sandbox': False, 'destdir': '', 'keep': 0, 'zones': '', 'debug': False, 'prefix': '/usr/local/', 'timestamp': None, 'download': False, 'force': False, 'targets': '', 'out': ''}
|
|
| 6 |
-out_dir = '/mnt/c/Users/louisj/repos/synocam_home_switch/build' |
|
| 7 |
-run_dir = '/mnt/c/Users/louisj/repos/synocam_home_switch' |
|
| 8 |
-top_dir = '/mnt/c/Users/louisj/repos/synocam_home_switch' |
| 59 | 50 |
deleted file mode 100755 |
| ... | ... |
@@ -1,52 +0,0 @@ |
| 1 |
-# |
|
| 2 |
-# This file is the default set of rules to compile a Pebble project. |
|
| 3 |
-# |
|
| 4 |
-# Feel free to customize this to your needs. |
|
| 5 |
-# |
|
| 6 |
- |
|
| 7 |
-import os.path |
|
| 8 |
-try: |
|
| 9 |
- from sh import CommandNotFound, jshint, cat, ErrorReturnCode_2 |
|
| 10 |
- hint = jshint |
|
| 11 |
-except (ImportError, CommandNotFound): |
|
| 12 |
- hint = None |
|
| 13 |
- |
|
| 14 |
-top = '.' |
|
| 15 |
-out = 'build' |
|
| 16 |
- |
|
| 17 |
- |
|
| 18 |
-def options(ctx): |
|
| 19 |
- ctx.load('pebble_sdk')
|
|
| 20 |
- |
|
| 21 |
- |
|
| 22 |
-def configure(ctx): |
|
| 23 |
- ctx.load('pebble_sdk')
|
|
| 24 |
- |
|
| 25 |
- |
|
| 26 |
-def build(ctx): |
|
| 27 |
- if False and hint is not None: |
|
| 28 |
- try: |
|
| 29 |
- hint([node.abspath() for node in ctx.path.ant_glob("src/**/*.js")], _tty_out=False) # no tty because there are none in the cloudpebble sandbox.
|
|
| 30 |
- except ErrorReturnCode_2 as e: |
|
| 31 |
- ctx.fatal("\nJavaScript linting failed (you can disable this in Project Settings):\n" + e.stdout)
|
|
| 32 |
- |
|
| 33 |
- ctx.load('pebble_sdk')
|
|
| 34 |
- |
|
| 35 |
- build_worker = os.path.exists('worker_src')
|
|
| 36 |
- binaries = [] |
|
| 37 |
- |
|
| 38 |
- for p in ctx.env.TARGET_PLATFORMS: |
|
| 39 |
- ctx.set_env(ctx.all_envs[p]) |
|
| 40 |
- ctx.set_group(ctx.env.PLATFORM_NAME) |
|
| 41 |
- app_elf = '{}/pebble-app.elf'.format(ctx.env.BUILD_DIR)
|
|
| 42 |
- ctx.pbl_program(source=ctx.path.ant_glob('src/c/**/*.c'), target=app_elf)
|
|
| 43 |
- |
|
| 44 |
- if build_worker: |
|
| 45 |
- worker_elf = '{}/pebble-worker.elf'.format(ctx.env.BUILD_DIR)
|
|
| 46 |
- binaries.append({'platform': p, 'app_elf': app_elf, 'worker_elf': worker_elf})
|
|
| 47 |
- ctx.pbl_worker(source=ctx.path.ant_glob('worker_src/c/**/*.c'), target=worker_elf)
|
|
| 48 |
- else: |
|
| 49 |
- binaries.append({'platform': p, 'app_elf': app_elf})
|
|
| 50 |
- |
|
| 51 |
- ctx.set_group('bundle')
|
|
| 52 |
- ctx.pbl_bundle(binaries=binaries, js=ctx.path.ant_glob(['src/pkjs/**/*.js', 'src/pkjs/**/*.json']), js_entry_file='src/pkjs/index.js') |