From 728dcec463ef525bbf0c212913e751602463843a Mon Sep 17 00:00:00 2001 From: vindard <17693119+vindard@users.noreply.github.com> Date: Wed, 14 Feb 2024 12:57:44 -0400 Subject: [PATCH] build: add separate build rule for core/api tests --- core/api/BUCK | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/api/BUCK b/core/api/BUCK index 1e8d95c08cf..1159d5263f3 100644 --- a/core/api/BUCK +++ b/core/api/BUCK @@ -3,6 +3,7 @@ load( "dev_pnpm_task_binary", "dev_pnpm_task_test", "build_node_modules", + "prepare_build_context", "tsc_build", "prod_tsc_build", "prod_tsc_build_bin", @@ -131,6 +132,12 @@ dev_update_file( out = "src/graphql/admin/schema.graphql" ) +prepare_build_context( + name = "checks_build_context", + srcs = [":src"] + [":test_src"], + prod_deps_srcs = prod_deps_srcs, +) + audit( name = "audit", level = "critical",