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

     1  go_library(
     2      name = 'asp',
     3      srcs = glob(['*.go'], exclude = [
     4          '*_test.go',
     5          '*.bindata.go',
     6      ]),
     7      deps = [
     8          '//src/cli',
     9          '//src/core',
    10          '//src/fs',
    11          '//third_party/go:logging',
    12      ],
    13      visibility = ['PUBLIC'],
    14  )
    15  
    16  go_test(
    17      name = 'parser_test',
    18      srcs = ['parser_test.go'],
    19      data = ['test_data'],
    20      deps = [
    21          ':asp',
    22          '//third_party/go:testify',
    23      ],
    24  )
    25  
    26  go_test(
    27      name = 'lexer_test',
    28      srcs = ['lexer_test.go'],
    29      deps = [
    30          ':asp',
    31          '//third_party/go:testify',
    32      ],
    33  )
    34  
    35  go_test(
    36      name = 'interpreter_test',
    37      srcs = ['interpreter_test.go'],
    38      data = ['test_data'],
    39      deps = [
    40          ':asp',
    41          '//src/core',
    42          '//src/parse/rules',
    43          '//third_party/go:testify',
    44      ],
    45  )
    46  
    47  go_test(
    48      name = 'logging_test',
    49      srcs = ['logging_test.go'],
    50      data = ['test_data'],
    51      deps = [
    52          ':asp',
    53          '//src/core',
    54          '//src/parse/rules',
    55          '//third_party/go:logging',
    56          '//third_party/go:testify',
    57      ],
    58  )
    59  
    60  go_test(
    61      name = 'util_test',
    62      srcs = ['util_test.go'],
    63      data = ['test_data'],
    64      deps = [
    65          ':asp',
    66          '//third_party/go:testify',
    67      ],
    68  )