Browse code

fixed untracked files

louis.jonget authored on24/01/2023 10:30:34
Showing28 changed files
... ...
@@ -3,9 +3,9 @@ wscript
3 3
 # Ignore swap files
4 4
 *.swp
5 5
 
6
-# Ignore waf lock file
6
+# Ignore lock file
7 7
 .lock-waf_linux2_build
8 8
 
9
-# Ignore build generated files
9
+# Ignore build generated files but pbw (compiled app)
10 10
 /build/*
11 11
 !/build/*.pbw
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'
9 0
old mode 100755
10 1
new mode 100644
11 2
old mode 100755
12 3
new mode 100644
13 4
old mode 100755
14 5
new mode 100644
15 6
old mode 100755
16 7
new mode 100644
17 8
old mode 100755
18 9
new mode 100644
19 10
old mode 100755
20 11
new mode 100644
21 12
old mode 100755
22 13
new mode 100644
23 14
old mode 100755
24 15
new mode 100644
25 16
old mode 100755
26 17
new mode 100644
27 18
old mode 100755
28 19
new mode 100644
29 20
old mode 100755
30 21
new mode 100644
31 22
old mode 100755
32 23
new mode 100644
33 24
old mode 100755
34 25
new mode 100644
35 26
old mode 100755
36 27
new mode 100644
37 28
old mode 100755
38 29
new mode 100644
39 30
old mode 100755
40 31
new mode 100644
41 32
old mode 100755
42 33
new mode 100644
43 34
old mode 100755
44 35
new mode 100644
45 36
old mode 100755
46 37
new mode 100644
47 38
old mode 100755
48 39
new mode 100644
49 40
old mode 100755
50 41
new mode 100644
51 42
old mode 100755
52 43
new mode 100644
53 44
old mode 100755
54 45
new mode 100644
55 46
old mode 100755
56 47
new mode 100644
57 48
old mode 100755
58 49
new mode 100644
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')