docs: update

This commit is contained in:
yicm 2020-09-24 12:25:15 +08:00
parent c5d1fcf578
commit e6434ff294

View File

@ -46,13 +46,13 @@ cmake [-G generator] [-DYAML_BUILD_SHARED_LIBS=ON|OFF] ..
## Bazel ## Bazel
## Build ### Build
```bash ```bash
$ bazel build :yaml-cpp $ bazel build :yaml-cpp
``` ```
## Dependency ### External Dependency
```python ```python
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
@ -61,9 +61,8 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
git_repository( git_repository(
name = "yaml_parser", name = "yaml_parser",
remote = "https://github.com/jbeder/yaml-cpp.git", remote = "https://github.com/yicm/yaml-cpp.git",
#commit = "98acc5a", commit = "c5d1fcf",
#tag = "",
) )
``` ```