Updates workflows
This commit is contained in:
8
bw-dev
8
bw-dev
@ -97,7 +97,7 @@ case "$CMD" in
|
||||
docker-compose restart celery_worker
|
||||
;;
|
||||
pytest)
|
||||
execweb pytest --no-cov-on-fail "$@"
|
||||
runweb pytest --no-cov-on-fail "$@"
|
||||
;;
|
||||
collectstatic)
|
||||
runweb python manage.py collectstatic --no-input
|
||||
@ -141,9 +141,9 @@ case "$CMD" in
|
||||
docker-compose run --rm dev-tools npx stylelint bookwyrm/static/**/*.css --fix
|
||||
;;
|
||||
formatters)
|
||||
makeitblack
|
||||
docker-compose run --rm dev-tools npx prettier --write bookwyrm/static/js/*.js
|
||||
docker-compose run --rm dev-tools npx stylelint bookwyrm/static/**/*.css --fix
|
||||
docker-compose run --rm dev-tools black celerywyrm bookwyrm && \
|
||||
npx prettier --write bookwyrm/static/js/*.js && \
|
||||
npx stylelint bookwyrm/static/**/*.css --fix
|
||||
;;
|
||||
update)
|
||||
git pull
|
||||
|
Reference in New Issue
Block a user