load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "git", srcs = ["git.go"], importpath = "edge-infra.dev/pkg/lib/build/git", visibility = ["//visibility:public"], deps = ["//pkg/lib/cli/sh"], ) go_test( name = "git_test", srcs = ["git_test.go"], embed = [":git"], deps = [ "//pkg/lib/build/bazel", "//pkg/lib/cli/sh", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )