blob: 30f9d136dd7d8aaec5a3e431093eb60c6a177fe2 [file]
# Licensed under the Apache-2.0 license
# SPDX-License-Identifier: Apache-2.0
load("@bazel_skylib//rules:native_binary.bzl", "native_binary")
native_binary(
name = "pw",
src = "@pigweed//pw_build/py:workflows_launcher",
)
# Shortcut for the Pigweed formatter.
# Just run `bazel run //:format` to format code.
alias(
name = "format",
actual = "@pigweed//pw_presubmit/py:format",
)
# Shortcut for pw_watch, which reruns Bazel commands when source files change.
# Run `bazel run //:watch build //docs` to rebuild the docs on every edit.
alias(
name = "watch",
actual = "@pigweed//pw_watch/py:bazel",
)