From 51013be1389c34a7a0ffe876e2cd1bfd0613ce66 Mon Sep 17 00:00:00 2001 From: Finn Hodgkin Date: Thu, 3 Oct 2024 09:20:17 +0100 Subject: [PATCH] Release 0.1.10 adds intel mac support --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/main_check_needs_migrations.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39f3c95..029aec2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1542,7 +1542,7 @@ dependencies = [ [[package]] name = "rust-purs-gql" -version = "0.1.9" +version = "0.1.10" dependencies = [ "cynic", "cynic-introspection", diff --git a/Cargo.toml b/Cargo.toml index 5ac71b1..7baac88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust-purs-gql" -version = "0.1.9" +version = "0.1.10" edition = "2021" default-run = "pursgql" repository = "https://github.com/OxfordAbstracts/purescript-graphql-schema-gen" @@ -43,7 +43,7 @@ ci = "github" # The installers to generate for each app installers = ["npm"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "x86_64-unknown-linux-gnu"] +targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"] # The archive format to use for windows builds (defaults .zip) windows-archive = ".tar.gz" # The archive format to use for non-windows builds (defaults .tar.xz) diff --git a/src/main_check_needs_migrations.rs b/src/main_check_needs_migrations.rs index 37aff50..75bb4cc 100644 --- a/src/main_check_needs_migrations.rs +++ b/src/main_check_needs_migrations.rs @@ -28,7 +28,7 @@ async fn main() -> Result<()> { .max_connections(1) .connect(&test_db) .await - .expect("Failed to create pool"); + .expect("Failed to create codegen database pool"); let test_result: Migrations = sqlx::query_as::<_, Migrations>( r#"SELECT (cli_state->'migrations'->'default')::text as migrations from hdb_catalog.hdb_version;"#,