add workspace definitions file (#19)

This commit is contained in:
irengrig 2018-08-13 14:45:24 +02:00 committed by GitHub
parent 33ba461485
commit 6245c8bad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
workspace_definitions.bzl Normal file
View File

@ -0,0 +1,18 @@
all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])"""
http_archive(
name = "rules_foreign_cc",
strip_prefix = "rules_foreign_cc-master",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/master.zip",
)
new_http_archive(
name = "bazel_skylib",
build_file_content = all_content,
sha256 = "b5f6abe419da897b7901f90cbab08af958b97a8f3575b0d3dd062ac7ce78541f",
strip_prefix = "bazel-skylib-0.5.0",
type = "tar.gz",
urls = [
"https://github.com/bazelbuild/bazel-skylib/archive/0.5.0.tar.gz",
],
)