Skip to content

Commit

Permalink
Fix build, yarn should be invoked in subdirectory in the right order
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelUrankar committed May 27, 2021
1 parent c4ac4d7 commit 08779c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pre-build:
@${ECHO_CMD} 'yarn-offline-mirror "../yarn-offline-cache"' >> ${WRKSRC}/.yarnrc
@${ECHO_CMD} 'nodedir "${WRKDIR}/node-v${NODE_VER}"' >> ${WRKSRC}/.yarnrc
@cd ${PKGJSONSDIR} && \
for dir in `${FIND} . -type f -name package.json -exec dirname {} ';'`; do \
for dir in lib/vscode lib/vscode/extensions lib/vscode/extensions/notebook-markdown-extensions lib/vscode/extensions/npm; do \
cd ${WRKSRC}/$${dir} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \
${YARN_CMD} --production --frozen-lockfile --offline; \
done
Expand Down

0 comments on commit 08779c8

Please sign in to comment.