Skip to content

Commit e6c823d

Browse files
committed
removed comments
1 parent 226bd8a commit e6c823d

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

scripts/format.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ WORKSPACE_ROOT="$(bazel info workspace 2>/dev/null)"
1010

1111
GOOGLE_JAVA_FORMAT="$(bazel run --run_under=echo //scripts:google-java-format)"
1212

13-
# section "Buildifier"
14-
# echo " buildifier" >&2
15-
# bazel run //:buildifier
16-
17-
# section "Java"
18-
# echo " google-java-format" >&2
19-
# find "$PWD/java" -type f -name '*.java' | xargs "$GOOGLE_JAVA_FORMAT" --replace
20-
21-
# section "Javascript"
22-
# echo " javascript/node/selenium-webdriver - prettier" >&2
23-
# NODE_WEBDRIVER="${WORKSPACE_ROOT}/javascript/node/selenium-webdriver"
24-
# bazel run //javascript:prettier -- "${NODE_WEBDRIVER}" --write "${NODE_WEBDRIVER}/.prettierrc"
25-
26-
# section "Ruby"
27-
# echo " rubocop" >&2
28-
# bazel run //rb:lint
29-
30-
# section "Rust"
31-
# echo " rustfmt" >&2
32-
# bazel run @rules_rust//:rustfmt
13+
section "Buildifier"
14+
echo " buildifier" >&2
15+
bazel run //:buildifier
16+
17+
section "Java"
18+
echo " google-java-format" >&2
19+
find "$PWD/java" -type f -name '*.java' | xargs "$GOOGLE_JAVA_FORMAT" --replace
20+
21+
section "Javascript"
22+
echo " javascript/node/selenium-webdriver - prettier" >&2
23+
NODE_WEBDRIVER="${WORKSPACE_ROOT}/javascript/node/selenium-webdriver"
24+
bazel run //javascript:prettier -- "${NODE_WEBDRIVER}" --write "${NODE_WEBDRIVER}/.prettierrc"
25+
26+
section "Ruby"
27+
echo " rubocop" >&2
28+
bazel run //rb:lint
29+
30+
section "Rust"
31+
echo " rustfmt" >&2
32+
bazel run @rules_rust//:rustfmt
3333

3434
# TODO: use bazel target when rules_python supports formatting
3535
section "Python"

0 commit comments

Comments
 (0)