Skip to content

Commit

Permalink
build: add separate build rule for core/api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Feb 14, 2024
1 parent 03e4780 commit 728dcec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/api/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 728dcec

Please sign in to comment.