Update build

This commit is contained in:
Kevin Yue 2024-02-25 19:01:40 +08:00
parent e1af1da764
commit c20ab0f393

View File

@ -31,7 +31,9 @@ clean-tarball:
rm -rf .cargo rm -rf .cargo
# Create a tarball, include the cargo dependencies if OFFLINE is set to 1 # Create a tarball, include the cargo dependencies if OFFLINE is set to 1
tarball: clean-tarball build-fe tarball: clean-tarball
cd apps/gpgui-helper && pnpm install && pnpm build
# Remove node_modules to reduce the tarball size # Remove node_modules to reduce the tarball size
rm -rf apps/gpgui-helper/node_modules rm -rf apps/gpgui-helper/node_modules
@ -63,8 +65,6 @@ build-fe:
fi fi
build-rs: build-rs:
printenv
if [ $(OFFLINE) -eq 1 ]; then \ if [ $(OFFLINE) -eq 1 ]; then \
tar -xJf vendor.tar.xz; \ tar -xJf vendor.tar.xz; \
fi fi