You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/ci/code_cleanup.sh

14 lines
413 B

#!/usr/bin/env bash
changed_files="$(git diff --relative --name-only origin/master... | egrep '\.cs$')"
echo '--------------------------------------------------'
echo 'Files to be checked for code cleanup:'
echo
echo "$changed_files"
echo '--------------------------------------------------'
jb cleanupcode Recyclarr.sln \
--profile="Recyclarr Cleanup" \
--include="$(echo "$changed_files" | tr '\n' ';')"