-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD.bazel
26 lines (24 loc) · 903 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "nada-serve_lib",
srcs = ["main.go"],
importpath = "github.com/IMT-Atlantique-FIL-2020-2023/NADA-extended/cmd/nada-serve",
visibility = ["//visibility:private"],
deps = [
"//internal/app/nada-serve/config",
"//internal/app/nada-serve/graph",
"//internal/app/nada-serve/graph/generated",
"//internal/app/nada-serve/graph/model",
"//vendor/github.com/99designs/gqlgen/graphql",
"//vendor/github.com/99designs/gqlgen/graphql/handler",
"//vendor/github.com/99designs/gqlgen/graphql/playground",
"//vendor/github.com/go-chi/chi",
"//vendor/github.com/rs/cors",
"//vendor/github.com/rs/zerolog/log",
],
)
go_binary(
name = "nada-serve",
embed = [":nada-serve_lib"],
visibility = ["//visibility:public"],
)