![]() ![]() Sequence of Bash commands to be applied on Linux/Macos after patches are applied. When falling back to patch command line tool and patch_tool attribute is not specified, `patch` will be used. If multiple -p arguments are specified, the last one will take effect.If arguments other than -p are specified, Bazel will fall back to use patch command line tool instead of the Bazel-native patch implementation. Defaults to -p0, however -p1 will usually be needed for patches generated by git. Whether to clone submodules in the repository. Precisely one of branch, tag, or commit must be specified. The content for the BUILD file for this repository. The file does not need to be named BUILD, but can be (something like BUILD.new-repo-name may work well for distinguishing it from the repository's actual BUILD files. The file to use as the BUILD file for this repository.This attribute is an absolute label (use for the main repo). http_archive works with the repository cache, but notīranch in the remote repository to checked out.http_archive supports a list of urls as mirrors, and git_repository supports only.Into Bazel and has no system dependencies. Git repository rules depend on system git(1) whereas the HTTP downloader is built.If that fails (usually due to missing server support), it will fall back to a That provide a reproducible version of this rule (which a tag not necessarilyīazel will first try to perform a shallow fetch of only the specified commit. Also determine the id of theĬommit actually checked out and its date, and return a dict with parameters ![]() Shallow_since, strip_prefix, tag, verbose, workspace_file, workspace_file_content)Ĭlones a Git repository, checks out the specified tag, or commit, and Patch_cmds, patch_cmds_win, patch_tool, patches, recursive_init_submodules, remote, The following functions can be loaded name, branch, build_file, build_file_content, commit, init_submodules, patch_args, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |