1
0
Fork 0

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
commit 99fa54d7bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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