-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip .bzl files generated by cargo raze.
Broken by #45. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
- Loading branch information
1 parent
6f4cd4a
commit 73f8d3e
Showing
3 changed files
with
49 additions
and
2 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
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,22 @@ | ||
""" | ||
cargo-raze crate workspace functions | ||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
|
||
def _new_http_archive(name, **kwargs): | ||
if not native.existing_rule(name): | ||
http_archive(name=name, **kwargs) | ||
|
||
def raze_fetch_remote_crates(): | ||
|
||
_new_http_archive( | ||
name = "raze__log__0_4_11", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.11.crate", | ||
type = "tar.gz", | ||
sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", | ||
strip_prefix = "log-0.4.11", | ||
build_file = Label("//bazel/cargo/remote:log-0.4.11.BUILD"), | ||
) | ||
|
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,22 @@ | ||
""" | ||
cargo-raze crate workspace functions | ||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
|
||
def _new_http_archive(name, **kwargs): | ||
if not native.existing_rule(name): | ||
http_archive(name=name, **kwargs) | ||
|
||
def raze_fetch_remote_crates(): | ||
|
||
_new_http_archive( | ||
name = "raze__log__0_4_11", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.11.crate", | ||
type = "tar.gz", | ||
sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", | ||
strip_prefix = "log-0.4.11", | ||
build_file = Label("//bazel/cargo/remote:log-0.4.11.BUILD"), | ||
) | ||
|