mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00

You can then do './scripts/python -m venv /path/to/venv' to create a virtual env based on the bundled Python, which can be handy if you don't happen to have the appropriate version of Python installed separately.
36 lines
640 B
Text
36 lines
640 B
Text
load("//ts:prettier.bzl", "prettier", "prettier_test")
|
|
load("@build_bazel_rules_nodejs//:index.bzl", "copy_to_bin")
|
|
|
|
prettier()
|
|
|
|
prettier_test()
|
|
|
|
# Exported files
|
|
#################
|
|
|
|
exports_files([
|
|
".eslintrc.js",
|
|
"licenses.json",
|
|
"sql_format.ts",
|
|
"jest.config.js",
|
|
"package.json",
|
|
"protobuf-no-long.js",
|
|
])
|
|
|
|
# a copy needs to be placed in bazel-bin for libs with
|
|
# generated files
|
|
copy_to_bin(
|
|
name = "tsconfig_bin",
|
|
srcs = ["tsconfig.json"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
alias(
|
|
name = "yarn",
|
|
actual = "@nodejs//:yarn",
|
|
)
|
|
|
|
alias(
|
|
name = "node",
|
|
actual = "@nodejs//:node",
|
|
)
|