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

     1  go_library(
     2      name = 'build',
     3      srcs = glob(['*.go'], exclude = ['*_test.go']),
     4      deps = [
     5          '//src/build/proto:worker',
     6          '//src/cache',
     7          '//src/core',
     8          '//src/fs',
     9          '//src/metrics',
    10          '//third_party/go:go-multierror',
    11          '//third_party/go:logging',
    12          '//third_party/go:protobuf',
    13          '//third_party/go:shlex',
    14      ],
    15      visibility = ['PUBLIC'],
    16  )
    17  
    18  go_test(
    19      name = 'command_replacements_test',
    20      srcs = ['command_replacements_test.go'],
    21      deps = [
    22          ':build',
    23          '//third_party/go:testify',
    24      ],
    25  )
    26  
    27  go_test(
    28      name = 'incrementality_test',
    29      srcs = ['incrementality_test.go'],
    30      deps = [
    31          ':build',
    32      ],
    33  )
    34  
    35  go_test(
    36      name = 'build_step_test',
    37      srcs = ['build_step_test.go'],
    38      data = ['test_data'],
    39      deps = [
    40          ':build',
    41          '//src/core',
    42          '//src/fs',
    43          '//src/output',
    44          '//third_party/go:testify',
    45      ],
    46  )
    47  
    48  go_test(
    49      name = 'build_step_stress_test',
    50      srcs = ['build_step_stress_test.go'],
    51      deps = [
    52          ':build',
    53          '//src/core',
    54          '//src/output',
    55          '//third_party/go:testify',
    56      ],
    57  )