mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 17:03:26 +03:00
2a763d0987
Co-Authored-By: Max Brunsfeld <max@zed.dev>
15 lines
242 B
Bash
Executable File
15 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Install sqlx-cli if needed
|
|
[[ "$(sqlx --version)" == "sqlx-cli 0.5.7" ]] || cargo install sqlx-cli --version 0.5.7
|
|
|
|
cd server
|
|
|
|
# Export contents of .env.toml
|
|
eval "$(cargo run --bin dotenv)"
|
|
|
|
# Run sqlx command
|
|
sqlx $@
|