mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-26 10:33:15 +01:00
84171787a5
This uses a new enum to avoid confusing booleans
15 lines
258 B
Bash
Executable File
15 lines
258 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 --quiet --bin dotenv2)"
|
|
|
|
# Run sqlx command
|
|
sqlx $@
|