github.phpd.cn/thought-machine/please@v12.2.0+incompatible/src/parse/asp/test_data/example.build (about) 1 go_library( 2 name = 'asp', 3 srcs = glob(['*.go'], excludes = [ 4 '*_test.go', 5 '*.bindata.go', 6 ]), 7 deps = [ 8 '//src/cli', 9 '//src/core', 10 '//third_party/go:logging', 11 '//third_party/go:participle', 12 ], 13 visibility = ['//src/parse/...'], 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:participle', 32 '//third_party/go:testify', 33 ], 34 ) 35 36 go_test( 37 name = 'util_test', 38 srcs = ['util_test.go'], 39 deps = [ 40 ':util', 41 '//third_party/go:testify', 42 ], 43 )