Skip to content

Commit

Permalink
Fix GUI update rules when BUILDSRC_DIR is not defined
Browse files Browse the repository at this point in the history
platformio doesn't appear to define $BUILDSRC_DIR, which means the
generated dependencies never matched actual files and the GUI would
not be regenerated from modified sources.
  • Loading branch information
cscott authored and jeremypoulter committed Sep 12, 2023
1 parent 9b32cef commit f67e9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def make_static(env, target, source):

def process_html_app(source, dest, env):
web_server_static_files = join(dest, "web_server_static_files.h")
web_server_static = join("$BUILDSRC_DIR", "web_server_static.cpp.o")
web_server_static = join(env.subst("$BUILD_DIR"), "src/web_server_static.cpp.o")

files = filtered_listdir(source)

Expand Down

0 comments on commit f67e9f7

Please sign in to comment.