Merge pull request #630 from jimfingal/jim/makeitblack

Proof of concept adding `black` command
This commit is contained in:
Mouse Reeve
2021-03-08 07:09:24 -08:00
committed by GitHub
2 changed files with 15 additions and 5 deletions

9
bw-dev
View File

@ -35,6 +35,10 @@ function initdb {
execweb python manage.py initdb
}
function makeitblack {
runweb black celerywyrm bookwyrm
}
CMD=$1
shift
@ -102,7 +106,10 @@ case "$CMD" in
clean)
clean
;;
black)
makeitblack
;;
*)
echo "Unrecognised command. Try: build, clean, up, initdb, resetdb, makemigrations, migrate, bash, shell, dbshell, restart_celery, test, pytest, test_report"
echo "Unrecognised command. Try: build, clean, up, initdb, resetdb, makemigrations, migrate, bash, shell, dbshell, restart_celery, test, pytest, test_report, black"
;;
esac