blob: d6fdfa957b8fc10f73518ed27fa68ba4b42bb05a [file] [log] [blame]
Damien Martin-Guillereza8628bf2015-04-17 15:31:02 +00001filegroup(
2 name = "srcs",
3 srcs = glob(["*.py"]) + ["BUILD"],
4 visibility = ["//examples:__pkg__"],
5)
6
Lukacs Berkif5e23c62015-03-27 14:08:38 +00007py_binary(
8 name = "bin",
9 srcs = ["bin.py"],
10 deps = [":lib"],
11)
12
13py_library(
14 name = "lib",
15 srcs = ["lib.py"],
16)
Damien Martin-Guillereza8628bf2015-04-17 15:31:02 +000017
18py_test(
19 name = "test",
20 srcs = ["test.py"],
21 deps = [":lib"],
22)
23
24py_test(
25 name = "fail",
26 srcs = ["fail.py"],
27 deps = [":lib"],
28)