Skip to content

Commit 09405e1

Browse files
committed
Reshuffle filesystem structure
1 parent eb2d668 commit 09405e1

86 files changed

Lines changed: 140 additions & 3 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

esp32/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.pio
2+
.vscode/.browse.c_cpp.db*
3+
.vscode/c_cpp_properties.json
4+
.vscode/launch.json
5+
.vscode/ipch

extra_script.py renamed to esp32/extra_script.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def before_build_filesystem(source, target, env):
3636
print('[OK]\n')
3737
print('Building react app')
3838
# subprocess.run('npm run build', shell=True, cwd='web').check_returncode()
39-
env.Execute('cd web; npm run build')
40-
copy_matching('web/build', 'assets', lambda f: 'index' in f and f.endswith('.js'))
41-
copy_matching('web/build', '', lambda f: [ext for ext in ['.html', '.min.css', 'site_logo_mid.png'] if f.endswith(ext)])
39+
env.Execute('cd ../frontend; npm run build')
40+
copy_matching('../frontend/build', 'assets', lambda f: 'index' in f and f.endswith('.js'))
41+
copy_matching('../frontend/build', '', lambda f: [ext for ext in ['.html', '.min.css', 'site_logo_mid.png'] if f.endswith(ext)])
4242

4343

4444

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)