blob: e33c1ae7bc39d5fc6d661d20799faf56b7d288ad [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "checkout",
srcs = ["checkout.go"],
importpath = "go.skia.org/infra/task_driver/go/lib/checkout",
visibility = ["//visibility:public"],
deps = [
"//go/exec",
"//go/git",
"//go/sklog",
"//task_driver/go/lib/os_steps",
"//task_driver/go/td",
"//task_scheduler/go/types",
],
)
go_test(
name = "checkout_test",
srcs = ["checkout_test.go"],
embed = [":checkout"],
deps = [
"//go/common",
"//go/exec",
"//go/git",
"//go/git/testutils",
"//go/testutils",
"//go/testutils/unittest",
"//task_driver/go/td",
"//task_scheduler/go/types",
"@com_github_stretchr_testify//require",
],
)