mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
1995bd89a6
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
15 lines
249 B
Bash
Executable File
15 lines
249 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 crates/server
|
|
|
|
# Export contents of .env.toml
|
|
eval "$(cargo run --bin dotenv)"
|
|
|
|
# Run sqlx command
|
|
sqlx $@
|