+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,26 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

load("@score_cli_helper//:cli_helper.bzl", "cli_helper")
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
load("@score_starpls_lsp//:starpls.bzl", "setup_starpls")

test_suite(
name = "format.check",
tags = [
"cli_help=Check formatting:\n" +
"bazel test //:format.check",
],
tests = ["//tools/format:format.check"],
)

alias(
name = "format.fix",
actual = "//tools/format:format.fix",
tags = [
"cli_help=Fix formatting:\n" +
"bazel run //:format.fix",
],
)

copyright_checker(
Expand All @@ -38,6 +47,11 @@ copyright_checker(
visibility = ["//visibility:public"],
)

cli_helper(
name = "cli-help",
visibility = ["//visibility:public"],
)

exports_files([
"MODULE.bazel",
"BUILD",
Expand Down
11 changes: 9 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,21 @@ bazel_dep(name = "rules_java", version = "8.11.0")
#
###############################################################################

bazel_dep(name = "score_python_basics", version = "0.3.2")
bazel_dep(name = "score_python_basics", version = "0.3.3")

###############################################################################
#
# Checker rule for CopyRight checks/fixes
#
###############################################################################
bazel_dep(name = "score_cr_checker", version = "0.2.2")
bazel_dep(name = "score_cr_checker", version = "0.3.1")

###############################################################################
#
# CLI helper rule for CLI help
#
###############################################################################
bazel_dep(name = "score_cli_helper", version = "0.1.1")

###############################################################################
#
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Follow [instructions](https://eclipse-score.github.io/score/main/contribute/deve
Some important commands to get you started:

```sh
# Display useful bazel commands
bazel run //:help

# Check formatting
bazel test //:format.check

Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载