From c1e1fe70ac2be6d4dbc96b8c21b99d2c27dff130 Mon Sep 17 00:00:00 2001 From: Sy Le Date: Sat, 29 Jul 2023 13:44:47 -0700 Subject: [PATCH] fixed make test with prompt --- Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 3551d5c3..d7938c01 100644 --- a/Makefile +++ b/Makefile @@ -32,16 +32,10 @@ test_dependencies: test_setup_hosts: sh test-setup-hosts.sh -# test a single file locally -# make test_single_run software/scripts/sublime-merge.js +# test a single file locally with prompt test_single_run: - @echo "\n### Script that will run: \n" - @echo make test_single_run $(MAKECMDGOALS) - @echo "\n==================================\n" - sh test.sh $(MAKECMDGOALS) - -test_single_run_with_prompt: cat software/metadata/script-list.config @echo "\n\n==================================\n" @read -p "Enter File To Test:" file; \ - $(MAKE) test_single_run "$$file" + echo "sh test.sh $$file"; \ + sh test.sh "$$file"