mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
just prettier, just format shortcuts
This commit is contained in:
parent
4d03e8c12e
commit
4be7eece8c
2 changed files with 16 additions and 0 deletions
7
Justfile
7
Justfile
|
|
@ -36,6 +36,13 @@ export DATASETTE_SECRET := "not_a_secret"
|
|||
@black:
|
||||
pipenv run black .
|
||||
|
||||
# Apply prettier
|
||||
@prettier:
|
||||
npm run fix
|
||||
|
||||
# Format code with both black and prettier
|
||||
@format: black prettier
|
||||
|
||||
@serve:
|
||||
pipenv run sqlite-utils create-database data.db
|
||||
pipenv run sqlite-utils create-table data.db docs id integer title text --pk id --ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue