File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -14,37 +14,37 @@ proto_library(
1414
1515haskell_proto_library (
1616    name  =  "hello_world_haskell_proto" ,
17+     tags  =  ["requires_proto" ],
1718    deps  =  [
1819        ":hello_world_proto" ,
1920    ],
20-     tags  =  ["requires_proto" ],
2121)
2222
2323haskell_library (
2424    name  =  "hello_world_haskell" ,
2525    srcs  =  ["HelloWorld.hs" ],  # Just imports the proto and does something trivial 
26+     tags  =  ["requires_proto" ],
2627    deps  =  [
2728        ":hello_world_haskell_proto" ,
2829        "@stackage//:base" ,
2930    ],
30-     tags  =  ["requires_proto" ],
3131)
3232
3333# Haddocks version A: depend on just the haskell_library 
3434haskell_doc (
3535    name  =  "haddocks_a" ,
36+     tags  =  ["requires_proto" ],
3637    deps  =  [
3738        ":hello_world_haskell" ,
3839    ],
39-     tags  =  ["requires_proto" ],
4040)
4141
4242# Haddocks version B: depend on both haskell_library and haskell_proto_library 
4343haskell_doc (
4444    name  =  "haddocks_b" ,
45+     tags  =  ["requires_proto" ],
4546    deps  =  [
4647        ":hello_world_haskell" ,
4748        ":hello_world_haskell_proto" ,
4849    ],
49-     tags  =  ["requires_proto" ],
5050)
Original file line number Diff line number Diff line change @@ -12,26 +12,26 @@ load(
1212proto_library (
1313    name  =  "foo" ,
1414    srcs  =  ["foo.proto" ],
15-     deps  =  ["@com_google_protobuf//:descriptor_proto" ],
1615    tags  =  ["requires_proto" ],
16+     deps  =  ["@com_google_protobuf//:descriptor_proto" ],
1717)
1818
1919haskell_proto_library (
2020    name  =  "foo_haskell" ,
21+     tags  =  ["requires_proto" ],
2122    deps  =  [
2223        ":foo" ,
2324    ],
24-     tags  =  ["requires_proto" ],
2525)
2626
2727haskell_library (
2828    name  =  "hs-lib" ,
2929    srcs  =  ["Bar.hs" ],
30+     tags  =  ["requires_proto" ],
31+     visibility  =  ["//visibility:public" ],
3032    deps  =  [
3133        ":foo_haskell" ,
3234        "//tests/hackage:base" ,
3335        "@stackage//:proto-lens" ,
3436    ],
35-     tags  =  ["requires_proto" ],
36-     visibility  =  ["//visibility:public" ],
3737)
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments