Skip to content

Commit 8fba7f7

Browse files
committed
SWPROT-8953: dev_gui: Prefer system yarnpkg over yarn
Also align to distro stable version: 1.22.19+~cs24.27.18-2+deb12u1 Currently there is no backport of recent version, so let´s align to debian https://tracker.debian.org/pkg/node-yarnpkg Origin: SiliconLabs/UnifySDK#50 Forwarded: #3 Signed-off-by: Philippe Coval <[email protected]>
1 parent e012c98 commit 8fba7f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

applications/dev_ui/dev_gui/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Developer GUI install
2-
find_program(YARN_EXECUTABLE "yarn" REQUIRED)
2+
find_program(YARN_EXECUTABLE "yarnpkg" "yarn" REQUIRED)
33

44
if(APPLE)
55
set(NPM_TARGET macos-x64)
@@ -27,7 +27,7 @@ add_custom_command(
2727
COMMAND cp -r ${ZAP_CURRENT_OUTPUT_DIR}/. .
2828
COMMAND ${YARN_EXECUTABLE} version --no-git-tag-version --new-version
2929
${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}
30-
COMMAND ${YARN_EXECUTABLE} install --allow-same-version
30+
COMMAND ${YARN_EXECUTABLE} install
3131
COMMAND ${YARN_EXECUTABLE} run build
3232
USES_TERMINAL)
3333

0 commit comments

Comments
 (0)