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

     1  subinclude('//build_defs:ansi_escapes')
     2  
     3  replace_ansi_escapes(
     4      name = 'ansi_replacements',
     5      srcs = [
     6          'interactive_display.go',
     7          'shell_output.go',
     8      ],
     9  )
    10  
    11  go_library(
    12      name = 'output',
    13      srcs = [
    14          'print.go',
    15          'trace.go',
    16          ':ansi_replacements',
    17      ],
    18      deps = [
    19          '//src/build',
    20          '//src/cli',
    21          '//src/core',
    22          '//src/test',
    23          '//third_party/go:go-flags',
    24          '//third_party/go:humanize',
    25          '//third_party/go:logging',
    26          '//third_party/go:terminal',
    27      ],
    28      visibility = ['PUBLIC'],
    29  )
    30  
    31  go_test(
    32      name = 'interactive_display_test',
    33      srcs = ['interactive_display_test.go'],
    34      deps = [
    35          ':output',
    36          '//third_party/go:testify',
    37      ],
    38  )
    39  
    40  go_test(
    41      name = 'shell_output_test',
    42      srcs = ['shell_output_test.go'],
    43      deps = [
    44          ':output',
    45          '//src/core',
    46          '//third_party/go:testify',
    47      ],
    48  )