mirror of https://github.com/pulumi/pulumi.git
47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary")
|
|
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
|
|
|
|
# gazelle:prefix github.com/pulumi/pulumi
|
|
#
|
|
# gazelle:go_naming_convention import_alias
|
|
#
|
|
# gazelle:resolve go github.com/pulumi/pulumi/sdk/v3/proto/go //proto/pulumi:pulumirpc_go_proto
|
|
#
|
|
# gazelle:proto package
|
|
# gazelle:proto_group go_package
|
|
#
|
|
# gazelle:exclude pkg/codegen/testing/test/testdata/**/*
|
|
#
|
|
# gazelle:exclude sdk/go/auto/test/**/*
|
|
# gazelle:exclude sdk/go/auto/testdata/**/*
|
|
# gazelle:exclude sdk/go/pulumi-language-go/testdata/**/*
|
|
# gazelle:exclude sdk/proto/**/*
|
|
# gazelle:exclude sdk/python/cmd/pulumi-language-python/testdata/**/*
|
|
# gazelle:exclude sdk/python/env/src/**/*
|
|
# gazelle:exclude sdk/python/lib/test/**/*
|
|
#
|
|
# gazelle:exclude tests/benchmarks/**/*
|
|
# gazelle:exclude tests/integration/*/**/*
|
|
# gazelle:exclude tests/testdata/**/*
|
|
#
|
|
|
|
gazelle(
|
|
name = "gazelle",
|
|
)
|
|
|
|
gazelle(
|
|
name = "gazelle-update-repos",
|
|
args = [
|
|
"-from_file=go.work",
|
|
"-to_macro=deps.bzl%go_deps",
|
|
"-prune=True",
|
|
],
|
|
command = "update-repos",
|
|
)
|
|
|
|
compile_pip_requirements(
|
|
name = "requirements",
|
|
requirements_in = "requirements.txt",
|
|
requirements_txt = "requirements_lock.txt",
|
|
)
|