Skip to content

Commit

Permalink
Build cup_runtime with Bazel (#441)
Browse files Browse the repository at this point in the history
Simple java_library rule
  • Loading branch information
regisd authored Oct 13, 2018
1 parent a2cdc9f commit 521a5a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cup/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ java_import(
jars = ["cup/target/cup-11b.jar"],
)

java_import(
alias(
name = "cup_runtime",
jars = ["cup_runtime/target/cup_runtime-11b.jar"],
actual = "//cup/cup_runtime",
)
6 changes: 6 additions & 0 deletions cup/cup_runtime/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
licenses(["notice"]) # BSD-like
java_library(
name = "cup_runtime",
srcs = glob(["src/main/java/**/*.java"]),
visibility=["//visibility:public"]
)

0 comments on commit 521a5a2

Please sign in to comment.