Skip to content

Commit 42cfa87

Browse files
feat: drop tooling dependency (#661)
* feat: drop tooling dependency * fix comment Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Alexander Lanin <alex@lanin.de> --------- Signed-off-by: Alexander Lanin <alex@lanin.de> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fc8e161 commit 42cfa87

4 files changed

Lines changed: 2 additions & 65 deletions

File tree

.github/workflows/copyright.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

BUILD

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,9 @@
1212
# *******************************************************************************
1313

1414
load("@score_docs_as_code//:docs.bzl", "docs")
15-
load("@score_tooling//:defs.bzl", "copyright_checker", "use_format_targets")
1615

1716
package(default_visibility = ["//visibility:public"])
1817

19-
# Enables formatting targets
20-
#'bazel test //:format.check'
21-
#'bazel run //:format.fix'
22-
use_format_targets()
23-
24-
copyright_checker(
25-
name = "copyright",
26-
srcs = glob(
27-
[
28-
"process/**",
29-
"BUILD",
30-
"MODULE.bazel",
31-
],
32-
exclude = ["process/trustable/**"],
33-
),
34-
config = "@score_tooling//cr_checker/resources:config",
35-
template = "@score_tooling//cr_checker/resources:templates",
36-
visibility = ["//visibility:public"],
37-
)
38-
3918
docs(
4019
source_dir = "process",
4120
)

MODULE.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,9 @@ python.toolchain(
4141
)
4242
use_repo(python)
4343

44-
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
45-
4644
###############################################################################
4745
#
48-
# Generic linting and formatting rules
46+
# Documentation tooling
4947
#
5048
###############################################################################
51-
bazel_dep(name = "aspect_rules_lint", version = "1.5.3")
52-
bazel_dep(name = "score_tooling", version = "1.2.0")
53-
bazel_dep(name = "score_docs_as_code", version = "4.0.0")
49+
bazel_dep(name = "score_docs_as_code", version = "4.0.1")

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,7 @@ Now run the live_preview commands
9090
bazel run //:live_preview
9191
```
9292

93-
#### Format your documentation with:
94-
95-
```bash
96-
bazel test //:format.test
97-
bazel run //:format.fix
98-
```
99-
10093
Now server should be available with a preview on the link that is given (normally 127.0.0.1:8000) and the documentation can be previewed there.
10194

102-
#### Find & fix missing copyright
103-
104-
```bash
105-
bazel test //:copyright.test
106-
bazel run //:copyright.fix
107-
```
108-
10995
#### Explore more functions with
11096
bazel query //...

0 commit comments

Comments
 (0)