From 5fb9df60dd56caa8783727e3b2a95fe11cfca631 Mon Sep 17 00:00:00 2001 From: tfuxu <73042332+tfuxu@users.noreply.github.com> Date: Fri, 11 Nov 2022 01:46:07 +0100 Subject: [PATCH] feat: update local.sh --- local.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/local.sh b/local.sh index 5407b064..73a23ba5 100755 --- a/local.sh +++ b/local.sh @@ -18,12 +18,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +read -p "Do you want to install Python requirements? [N/y] " answer -read -p "Do you want to install Python requirements? (yes, no): " answer - -#is_venv = "python -c 'import sys; print(sys.prefix == sys.base_prefix)'" - -#if [[ "$is_venv" == "True" ]]; then if [[ "$answer" == "yes" ]]; then pip3 install -r requirements.txt elif [[ "$answer" == "no" ]]; then @@ -34,7 +30,7 @@ echo "Cleaning builddir directory" rm -r builddir echo "Rebuilding" -meson builddir +meson setup builddir meson configure builddir -Dprefix="$(pwd)/builddir" -Dbuildtype=debug ninja -C builddir install