mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
add support for detecting bazel WORKSPACE files (#3459)
* add support for detecting bazel WORKSPACE files * Update languages.yml
This commit is contained in:
committed by
Brandon Black
parent
74a71fd90d
commit
1e4ce80fd9
@@ -3389,6 +3389,7 @@ Python:
|
|||||||
- SConscript
|
- SConscript
|
||||||
- SConstruct
|
- SConstruct
|
||||||
- Snakefile
|
- Snakefile
|
||||||
|
- WORKSPACE
|
||||||
- wscript
|
- wscript
|
||||||
interpreters:
|
interpreters:
|
||||||
- python
|
- python
|
||||||
|
|||||||
12
samples/Python/filenames/WORKSPACE
Normal file
12
samples/Python/filenames/WORKSPACE
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# rules for scala
|
||||||
|
# https://github.com/bazelbuild/rules_scala#getting-started
|
||||||
|
# pull rule definitions from git
|
||||||
|
git_repository(
|
||||||
|
name = "io_bazel_rules_scala",
|
||||||
|
remote = "https://github.com/bazelbuild/rules_scala.git",
|
||||||
|
commit = "73743b830ae98d13a946b25ad60cad5fee58e6d3", # update this as needed
|
||||||
|
)
|
||||||
|
|
||||||
|
# load the desired scala rules for this workspace
|
||||||
|
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
|
||||||
|
scala_repositories()
|
||||||
Reference in New Issue
Block a user