Skip to content

Commit

Permalink
Add pull requests instead of using a local repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
Attila Oláh committed Sep 17, 2020
1 parent 8fe7113 commit 9a35195
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
5 changes: 0 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ workspace(name = "wasm")

load("//:package.bzl", "register_dependencies", "register_repositories")

local_repository(
name = "rules_foreign_cc",
path = "../rules_foreign_cc",
)

register_dependencies()

register_repositories()
Expand Down
16 changes: 10 additions & 6 deletions package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ load("//lib:package.bzl", "download_lib")

def register_dependencies():
"""Set up dependencies of THIS workspace."""
#_github_repository(
# project = "rules_foreign_cc",
# owner = "bazelbuild",
# commit = "ed95b95affecaa3ea3bf7bab3e0ab6aa847dfb06",
# shallow_since = "1599808059 +0200",
#)
_github_repository(
project = "rules_foreign_cc",
owner = "bazelbuild",
commit = "ed95b95affecaa3ea3bf7bab3e0ab6aa847dfb06",
shallow_since = "1599808059 +0200",
pull_requests = {
427: "6172e0c838a06346c9aab7c76c5e0fccc8355c7a0fe63f57d2060c27869b12e8",
428: "13ff5c01debb49816322ba1abd5af16059050f3bd43ba47c2972961dbc9f56da",
},
)

http_archive(
name = "platforms",
Expand Down

0 comments on commit 9a35195

Please sign in to comment.