Skip to content

Commit ee65de3

Browse files
committed
Added -q/--quick-build option to do only the go
Also fixed the typo in building development not honoring the SKIP_UI_BUILD request.
1 parent b9dbe86 commit ee65de3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/dev_deploy.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ show_help() {
2121
echo " --enable-sync-trace Enable sync trace (do not use in release builds)"
2222
echo " --native-binary Build and deploy the native binary (FOR DEBUGGING ONLY)"
2323
echo " -i, --install Build for release and install the app"
24+
echo " -q, --quick-build Do quick build (only rebuild go components)"
2425
echo " --help Display this help message"
2526
echo
2627
echo "Example:"
@@ -129,6 +130,13 @@ while [[ $# -gt 0 ]]; do
129130
INSTALL_APP=true
130131
shift
131132
;;
133+
-q|--quick-build)
134+
SKIP_NATIVE_BUILD=1
135+
SKIP_UI_BUILD=true
136+
BUILD_NATIVE_BINARY=false
137+
RUN_GO_TESTS=false
138+
shift
139+
;;
132140
--help)
133141
show_help
134142
exit 0
@@ -274,7 +282,7 @@ else
274282
msg_info "▶ Building development binary"
275283
do_make build_dev \
276284
SKIP_NATIVE_IF_EXISTS=${SKIP_NATIVE_BUILD} \
277-
SKIP_UI_BUILD=${SKIP_UI_BUILD_RELEASE} \
285+
SKIP_UI_BUILD=${SKIP_UI_BUILD} \
278286
ENABLE_SYNC_TRACE=${ENABLE_SYNC_TRACE}
279287

280288
# Kill any existing instances of the application

0 commit comments

Comments
 (0)