mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 02:37:05 +00:00
14 lines
249 B
Bash
Executable file
14 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/collab
|
|
|
|
# Export contents of .env.toml
|
|
eval "$(cargo run --bin dotenv)"
|
|
|
|
# Run sqlx command
|
|
sqlx $@
|