mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
make bw-dev consistent
This commit is contained in:
parent
225957ba8a
commit
51bb4c6f5d
1 changed files with 6 additions and 6 deletions
12
bw-dev
12
bw-dev
|
@ -139,20 +139,20 @@ case "$CMD" in
|
||||||
docker-compose run --rm dev-tools black celerywyrm bookwyrm
|
docker-compose run --rm dev-tools black celerywyrm bookwyrm
|
||||||
;;
|
;;
|
||||||
prettier)
|
prettier)
|
||||||
docker-compose run --rm dev-tools npm exec --prefix=dev-tools/ -- prettier \
|
docker-compose run --rm dev-tools npm exec --prefix dev-tools -- prettier \
|
||||||
--write bookwyrm/static/js/*.js
|
--write bookwyrm/static/js/*.js
|
||||||
;;
|
;;
|
||||||
stylelint)
|
stylelint)
|
||||||
docker-compose run --rm dev-tools npm exec --prefix=dev-tools/ -- stylelint \
|
docker-compose run --rm dev-tools npm exec --prefix dev-tools -- stylelint \
|
||||||
--fix --config=dev-tools/.stylelintrc.js --ignore-path=dev-tools/.stylelintignore \
|
--fix --config dev-tools/.stylelintrc.js --ignore-path dev-tools/.stylelintignore \
|
||||||
bookwyrm/static/css
|
bookwyrm/static/css
|
||||||
;;
|
;;
|
||||||
formatters)
|
formatters)
|
||||||
docker-compose run --rm dev-tools black celerywyrm bookwyrm
|
docker-compose run --rm dev-tools black celerywyrm bookwyrm
|
||||||
docker-compose run --rm dev-tools npm exec --prefix=dev-tools/ -- prettier \
|
docker-compose run --rm dev-tools npm exec --prefix dev-tools -- prettier \
|
||||||
--write bookwyrm/static/js/*.js
|
--write bookwyrm/static/js/*.js
|
||||||
docker-compose run --rm dev-tools npm exec --prefix=dev-tools/ -- stylelint \
|
docker-compose run --rm dev-tools npm exec --prefix dev-tools -- stylelint \
|
||||||
--fix --config=dev-tools/.stylelintrc.js --ignore-path=dev-tools/.stylelintignore \
|
--fix --config dev-tools/.stylelintrc.js --ignore-path dev-tools/.stylelintignore \
|
||||||
bookwyrm/static/css
|
bookwyrm/static/css
|
||||||
;;
|
;;
|
||||||
compilescss)
|
compilescss)
|
||||||
|
|
Loading…
Reference in a new issue