From 211eb5e7ac545a0bba501f7c873d64c8d4ae6af9 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 29 Jan 2017 19:51:24 +0330 Subject: working on the auto-refac command --- mutator.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mutator.sh') diff --git a/mutator.sh b/mutator.sh index 3788bd0..140fecc 100755 --- a/mutator.sh +++ b/mutator.sh @@ -212,9 +212,10 @@ elif [[ "$COMMAND" == "auto-refac" ]]; then RUN_INPUT_ARR=$(ls ./temp | gawk 'BEGIN{RS="\n"}{print $1}') for loopinput in ${RUN_INPUT_ARR[@]}; do echo mut1-$loopinput - "./mutator-lvl1" ./temp/$loopinput -- > ./temp/mut1-$loopinput echo "Running automatic-refactoring on copies of input(s)..." + "./mutator-lvl1" ./temp/$loopinput -- > ./temp/mut1-$loopinput "clang-format" -i $loopinput + "./mutator-lvl2" ./temp/mut1-$loopinput -- > ./temp/mut2-$loopinput done elif [[ "$COMMAND" == "jack" ]]; then echo -- cgit v1.2.3