Skip to content

Commit

Permalink
chore: Refactor run script
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Sep 10, 2021
1 parent 6c04f2d commit 14a7486
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ echo "${SCRIPT_NAME} is running... "

APP=coverbadger

${BIN_DIR}/${APP} -coverage=$(gocov report ${COV_DIR}/full.json | tail -1 | awk '{if ($1 != "?") print $3; else print "0.0";}' | sed 's/\%//g') -md="README.md"
COVERAGE=$(gocov report ${COV_DIR}/full.json | tail -1 | awk '{if ($1 != "?") print $3; else print "0.0";}' | sed 's/\%//g')

${BIN_DIR}/${APP} \
--coverage=${COVERAGE} \
--md="README.md" \
-style=social

0 comments on commit 14a7486

Please sign in to comment.