mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 09:34:16 -05:00
fix(build system): delete stale .sqlx folders
This commit is contained in:
parent
8d976890a1
commit
b5574de1fb
3 changed files with 5 additions and 8 deletions
|
|
@ -57,9 +57,9 @@ tower = "0.5.2"
|
||||||
tower-http = { version = "0.6.6", features = ["cors"] }
|
tower-http = { version = "0.6.6", features = ["cors"] }
|
||||||
|
|
||||||
# TLS/Security
|
# TLS/Security
|
||||||
|
rustls = { version = "0.21", features = ["dangerous_configuration"] }
|
||||||
tokio-rustls = "0.26"
|
tokio-rustls = "0.26"
|
||||||
webpki-roots = "1"
|
webpki-roots = "1"
|
||||||
rustls = { version = "0.21", features = ["dangerous_configuration"] }
|
|
||||||
|
|
||||||
# Tor networking
|
# Tor networking
|
||||||
arti-client = { workspace = true, features = ["tokio"] }
|
arti-client = { workspace = true, features = ["tokio"] }
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,9 @@ use tokio::{
|
||||||
|
|
||||||
use tokio_rustls::rustls::{
|
use tokio_rustls::rustls::{
|
||||||
self,
|
self,
|
||||||
client::{
|
client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
|
||||||
danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
|
|
||||||
},
|
|
||||||
pki_types::{CertificateDer, ServerName, UnixTime},
|
pki_types::{CertificateDer, ServerName, UnixTime},
|
||||||
Error as TlsError,
|
DigitallySignedStruct, Error as TlsError, SignatureScheme,
|
||||||
DigitallySignedStruct, SignatureScheme,
|
|
||||||
};
|
};
|
||||||
use tracing::{error, info_span, Instrument};
|
use tracing::{error, info_span, Instrument};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,11 +43,11 @@ cargo sqlx database create
|
||||||
|
|
||||||
for dir in swap monero-sys monero-rpc-pool; do
|
for dir in swap monero-sys monero-rpc-pool; do
|
||||||
echo "🔄 Running migrations in $dir..."
|
echo "🔄 Running migrations in $dir..."
|
||||||
(cd "$WORKSPACE_ROOT/$dir" && cargo sqlx migrate run --ignore-missing)
|
(cd "$WORKSPACE_ROOT/$dir" && rm -rf .sqlx && cargo sqlx migrate run --ignore-missing)
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "⚡ Preparing SQLx query cache..."
|
echo "⚡ Preparing SQLx query cache..."
|
||||||
cargo sqlx prepare --workspace
|
cargo sqlx prepare --workspace
|
||||||
|
|
||||||
echo "✅ SQLx query cache regenerated successfully!"
|
echo "✅ SQLx query cache regenerated successfully!"
|
||||||
echo "📝 The .sqlx directory has been updated with the latest query metadata."
|
echo "📝 The .sqlx directory has been updated with the latest query metadata."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue