Some checks failed
CI / build (push) Failing after 12s
GitOrigin-RevId: 6370f6ea785709295b6abcf9c60717cacf3ac432
36 lines
783 B
Text
36 lines
783 B
Text
load("@gazelle//:def.bzl", "gazelle")
|
|
load("@rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
gazelle(
|
|
name = "gazelle",
|
|
)
|
|
|
|
go_library(
|
|
name = "helloworld",
|
|
srcs = ["helloworld.go"],
|
|
importpath = "forgejo.csbx.dev/acmcarther/yesod/experimental/users/acmcarther/temporal",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@io_temporal_go_sdk//activity",
|
|
"@io_temporal_go_sdk//workflow",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "starter_main",
|
|
srcs = ["starter_main.go"],
|
|
deps = [
|
|
":helloworld",
|
|
"@io_temporal_go_sdk//client",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "worker_main",
|
|
srcs = ["worker_main.go"],
|
|
deps = [
|
|
":helloworld",
|
|
"@io_temporal_go_sdk//client",
|
|
"@io_temporal_go_sdk//worker",
|
|
],
|
|
)
|