Skip to content

Commit

Permalink
fix: add proper dependencies to CMake generate command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasssadar committed Jun 25, 2024
1 parent 910fbf0 commit b3251b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ idf_component_register(
EMBED_FILES ${CMAKE_CURRENT_BINARY_DIR}/combined.js.gz ${CMAKE_CURRENT_BINARY_DIR}/index.html.gz
)

file(GLOB_RECURSE gridui_web_sources ${COMPONENT_DIR}/web/*)

add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/combined.js.gz ${CMAKE_CURRENT_BINARY_DIR}/index.html.gz
DEPENDS ${gridui_web_sources}
COMMAND ${COMPONENT_DIR}/rbgridui_post_extra_script.py generate -o ${CMAKE_CURRENT_BINARY_DIR}
)

Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"maintainer": true
}
],
"version": "5.2.0",
"version": "5.2.1",
"frameworks": ["espidf", "arduino"],
"platforms": "espressif32",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion src/gridui_version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma once

#define RB_GRIDUI_VERSION 0x050200
#define RB_GRIDUI_VERSION 0x050201

0 comments on commit b3251b4

Please sign in to comment.