You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bazel/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,22 @@
3
3
`bazel-orfs` is a Bazel package containing the definitions and logic governing the build process of ORFS designs.
4
4
The module uses the `openroad/orfs` docker image to extract the flow scripts with dependencies, builds the Bazel environment around them and defines the methods of calling the ORFS Makefiles with selected designs.
5
5
6
+
## Format all code, including submodules
7
+
8
+
To format all files, run:
9
+
10
+
bazelisk run //:format
11
+
12
+
In the above command, bazel sets up all dependencies and configuration files, without depending or using local files of configuration.
13
+
14
+
Bazel expert tip: bearing in mind that `bazelisk run` will have pwd inside the runfiles of the target, you can run only black using:
15
+
16
+
bazelisk run :black -- $(pwd)
17
+
18
+
Or tclfmt:
19
+
20
+
bazelisk run :tclfmt -- --in-place $(pwd)
21
+
6
22
## Run examples
7
23
8
24
`flow/BUILD.bazel` contains definitions for various flows to serve as examples.
0 commit comments