Skip to content

Commit b2f3002

Browse files
committed
Rename example
1 parent 486f244 commit b2f3002

5 files changed

Lines changed: 23 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
name: CPP Semver CI
2-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
paths-ignore:
7+
- '**.md'
8+
pull_request:
9+
branches: [ main ]
10+
paths-ignore:
11+
- '**.md'
312

413
jobs:
514
macos:

.github/workflows/sanitize.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
name: CPP Semver Sanitize
2-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
paths-ignore:
7+
- '**.md'
8+
pull_request:
9+
branches: [ main ]
10+
paths-ignore:
11+
- '**.md'
312

413
jobs:
514
sanitize:

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cc_library(
88

99
cc_binary(
1010
name = "cpp-semver-example",
11-
srcs = ["example/compiler-explorer-example.cpp"],
11+
srcs = ["example/example.cpp"],
1212
deps = [":cpp-semver"],
1313
visibility = ["//visibility:public"],
1414
)

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ provides the ability to **parse**, **compare**, and **increment** semantic versi
5959

6060
4. With `Bazel`
6161

62-
```
62+
```python
6363
bazel_dep(name = "cpp-semver", version = "<cpp-semver-version>")
6464

6565
git_override(
@@ -70,14 +70,13 @@ provides the ability to **parse**, **compare**, and **increment** semantic versi
7070
```
7171

7272
Then, you can add `cpp-semver` to your dependency list:
73-
```
73+
```python
7474
cc_library(
7575
name = "example-library",
7676
deps = ["@cpp-semver//:cpp-semver"],
7777
)
7878
```
7979

80-
> [!NOTE]
8180
> C++ module support for *Bazel* has not been added yet.
8281
8382
## Usage

0 commit comments

Comments
 (0)