Skip to content

Commit

Permalink
fixed make test with prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
synle committed Jul 29, 2023
1 parent eaecb4d commit c1e1fe7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c1e1fe7

Please sign in to comment.