mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 22:26:26 -04:00
Update build
This commit is contained in:
parent
e1af1da764
commit
c20ab0f393
6
Makefile
6
Makefile
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user