This commit is contained in:
Kevin Yue 2024-02-25 22:08:28 +08:00
parent 016e1a4494
commit bd29c20f4c

View File

@ -32,7 +32,9 @@ clean-tarball:
# Create a tarball, include the cargo dependencies if OFFLINE is set to 1
tarball: clean-tarball
cd apps/gpgui-helper && pnpm install && pnpm build
if [ $(BUILD_FE) -eq 1 ]; then \
cd apps/gpgui-helper && pnpm install && pnpm build; \
fi
# Remove node_modules to reduce the tarball size
rm -rf apps/gpgui-helper/node_modules