feat: make workflow to sqlx offline codegen
This commit is contained in:
parent
0ac915b426
commit
e1b8836732
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -51,6 +51,12 @@ release: frontend ## Release build
|
|||
run: default ## Run debug build
|
||||
cargo run
|
||||
|
||||
sqlx-offline-data: ## prepare sqlx offline data
|
||||
cargo sqlx prepare \
|
||||
--database-url=${DATABASE_URL} -- \
|
||||
--all-features \
|
||||
--bin survey
|
||||
|
||||
test: frontend ## Run tests
|
||||
echo 'static/' && tree static || true
|
||||
echo 'tree/' && tree assets || true
|
||||
|
|
Loading…
Reference in a new issue