-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Bazel WORKSPACE to the root directory. (#440)
- The Bazel workspace should generally be the root. This is what we want for building the docs (#429) or the whole project (#304) - This allows to reference the jflex.jar and the cup.jar directly; the Bazel script doesn't have to copy them anymore.
- Loading branch information
Showing
12 changed files
with
34 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses(["notice"]) # GPL-compatible | ||
|
||
java_import( | ||
name = "cup", | ||
jars = ["cup/target/cup-11b.jar"], | ||
) | ||
|
||
java_import( | ||
name = "cup_runtime", | ||
jars = ["cup_runtime/target/cup_runtime-11b.jar"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
java_binary( | ||
name = "jflex_bin", | ||
main_class = "jflex.Main", | ||
runtime_deps = [ | ||
":jflex", | ||
"//cup:cup_runtime", | ||
], | ||
) | ||
|
||
java_import( | ||
name = "jflex", | ||
jars = ["target/jflex-1.7.1-SNAPSHOT.jar"], | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.