github.phpd.cn/thought-machine/please@v12.2.0+incompatible/src/cli/BUILD (about)

     1  go_library(
     2      name = 'cli',
     3      srcs = glob(['*.go'], exclude = ['*_test.go']),
     4      deps = [
     5          '//third_party/go:go-flags',
     6          '//third_party/go:humanize',
     7          '//third_party/go:logging',
     8          '//third_party/go:semver',
     9          '//third_party/go:terminal',
    10      ],
    11      visibility = ['PUBLIC'],
    12  )
    13  
    14  go_test(
    15      name = 'flags_test',
    16      srcs = ['flags_test.go'],
    17      deps = [
    18          ':cli',
    19          '//third_party/go:testify',
    20      ],
    21  )
    22  
    23  go_test(
    24      name = 'logging_test',
    25      srcs = ['logging_test.go'],
    26      deps = [
    27          ':cli',
    28          '//third_party/go:go-flags',
    29          '//third_party/go:testify',
    30      ],
    31  )
    32  
    33  go_test(
    34      name = 'stdin_test',
    35      srcs = ['stdin_test.go'],
    36      data = ['test_data'],
    37      deps = [
    38          ':cli',
    39          '//third_party/go:testify',
    40      ],
    41  )