From 65e791b33fbee60dfb7d137912d60c12bc7bd178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sun, 23 Jan 2022 19:36:39 +0800 Subject: [PATCH] Improve scripts --- bin/update_core.sh | 6 +----- bin/update_pb.sh | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100755 bin/update_pb.sh diff --git a/bin/update_core.sh b/bin/update_core.sh index bfdab5d2..b30d031f 100755 --- a/bin/update_core.sh +++ b/bin/update_core.sh @@ -10,8 +10,4 @@ git fetch origin main || exit 1 git reset origin/main --hard popd -rm -rf app/build/extracted-include-protos \ - library/proto/build \ - library/proto-stub/build - -git add . \ No newline at end of file +git add . diff --git a/bin/update_pb.sh b/bin/update_pb.sh new file mode 100755 index 00000000..3f295cdd --- /dev/null +++ b/bin/update_pb.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +rm -rf app/build/extracted-include-protos \ + library/proto/build \ + library/proto-stub/build