Skip to content

Commit

Permalink
Build user interface at build time (#97)
Browse files Browse the repository at this point in the history
* Build the user interface at build time.

* Reduce the sleep duration
  • Loading branch information
mamaheux authored Apr 29, 2024
1 parent cc5d7b8 commit c1fe399
Show file tree
Hide file tree
Showing 4 changed files with 1,343 additions and 88 deletions.
8 changes: 8 additions & 0 deletions ros/user_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,14 @@ add_custom_target(
VERBATIM
)

add_custom_target(
user_interface-build ALL
DEPENDS user_interface-install
COMMAND npm run build
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
)

#######################
## Required programs ##
#######################
Expand Down
Loading

0 comments on commit c1fe399

Please sign in to comment.