diff options
author | bloodstalker <thabogre@gmail.com> | 2017-01-29 16:21:24 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-01-29 16:21:24 +0000 |
commit | 211eb5e7ac545a0bba501f7c873d64c8d4ae6af9 (patch) | |
tree | 86f9e864b8bab86e2a28108a17686fc913cd216a /mutator.sh | |
parent | fixed the matcher that was causing ifconstswapper to misbehave when trying to... (diff) | |
download | mutator-211eb5e7ac545a0bba501f7c873d64c8d4ae6af9.tar.gz mutator-211eb5e7ac545a0bba501f7c873d64c8d4ae6af9.zip |
working on the auto-refac command
Diffstat (limited to '')
-rwxr-xr-x | mutator.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |