From 2599d5647742659e6de7b0b9f9c9f0450432492f Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Tue, 7 Feb 2023 14:12:49 -0500 Subject: [PATCH] buildfiles pt6 --- .build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 73f24c2..a478762 100644 --- a/.build.yml +++ b/.build.yml @@ -19,10 +19,15 @@ tasks: cargo install sqlx-cli /home/build/.cargo/bin/sqlx database create /home/build/.cargo/bin/sqlx mig run + sudo -u postgres pg_ctl stop -D /var/lib/postgresql/data - check: | + sudo -u postgres pg_ctl start -D /var/lib/postgresql/data cd /home/build/trifid cargo check --locked cargo clippy --locked + sudo -u postgres pg_ctl stop -D /var/lib/postgresql/data - build: | + sudo -u postgres pg_ctl start -D /var/lib/postgresql/data cd /home/build/trifid - cargo build --locked \ No newline at end of file + cargo build --locked + sudo -u postgres pg_ctl stop -D /var/lib/postgresql/data \ No newline at end of file