From a727e4b7a0eda16710884f3d31df60f541bd72c5 Mon Sep 17 00:00:00 2001 From: vohoanglong0107 Date: Tue, 21 May 2024 00:57:49 +0000 Subject: [PATCH 1/2] build: install fixed sqlx-cli version script --- justfile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 00000000..6e91eddf --- /dev/null +++ b/justfile @@ -0,0 +1,2 @@ +install-tools: + cargo install sqlx-cli@0.7.4 --no-default-features --features native-tls,postgres From d7c6db8ce1b11685f659e538e4f3c0fe31582929 Mon Sep 17 00:00:00 2001 From: vohoanglong0107 Date: Tue, 21 May 2024 02:43:17 +0000 Subject: [PATCH 2/2] build: add prepare recipe --- justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/justfile b/justfile index 6e91eddf..d3f8b7ad 100644 --- a/justfile +++ b/justfile @@ -1,2 +1,5 @@ install-tools: cargo install sqlx-cli@0.7.4 --no-default-features --features native-tls,postgres + +prepare: + cargo sqlx prepare -- --tests