From 8489516208cad8067a3aab57ae7abf84cce6f9f7 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 30 Mar 2023 11:02:40 +0200 Subject: [PATCH] bazel: better ci script naming Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- bazel/ci/BUILD.bazel | 12 ++++++------ bazel/ci/{tidy.sh.in => go_tidy.sh.in} | 0 bazel/ci/{golangci.sh.in => golangci_lint.sh.in} | 0 .../ci/{licenseheader.sh.in => license_header.sh.in} | 0 bazel/ci/{tf.sh.in => terraform.sh.in} | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename bazel/ci/{tidy.sh.in => go_tidy.sh.in} (100%) rename bazel/ci/{golangci.sh.in => golangci_lint.sh.in} (100%) rename bazel/ci/{licenseheader.sh.in => license_header.sh.in} (100%) rename bazel/ci/{tf.sh.in => terraform.sh.in} (100%) diff --git a/bazel/ci/BUILD.bazel b/bazel/ci/BUILD.bazel index 0e2fd9b12..0b110ca4c 100644 --- a/bazel/ci/BUILD.bazel +++ b/bazel/ci/BUILD.bazel @@ -57,7 +57,7 @@ sh_template( substitutions = { "@@GO@@": "$(rootpath @go_sdk//:bin/go)", }, - template = "tidy.sh.in", + template = "go_tidy.sh.in", ) sh_template( @@ -187,7 +187,7 @@ sh_template( "@@MODE@@": "generate", "@@TERRAFORM@@": "$(rootpath :com_github_hashicorp_terraform)", }, - template = "tf.sh.in", + template = "terraform.sh.in", ) sh_template( @@ -199,7 +199,7 @@ sh_template( "@@MODE@@": "check", "@@TERRAFORM@@": "$(rootpath :com_github_hashicorp_terraform)", }, - template = "tf.sh.in", + template = "terraform.sh.in", ) sh_template( @@ -211,7 +211,7 @@ sh_template( "@@MODE@@": "format", "@@TERRAFORM@@": "$(rootpath :com_github_hashicorp_terraform)", }, - template = "tf.sh.in", + template = "terraform.sh.in", ) alias( @@ -234,7 +234,7 @@ sh_template( "@@GO@@": "$(rootpath @go_sdk//:bin/go)", "@@GOLANGCI-LINT@@": "$(rootpath :com_github_golangci_golangci_lint)", }, - template = "golangci.sh.in", + template = "golangci_lint.sh.in", ) alias( @@ -275,7 +275,7 @@ sh_template( name = "license_header_check", data = [], substitutions = {}, - template = "licenseheader.sh.in", + template = "license_header.sh.in", ) sh_template( diff --git a/bazel/ci/tidy.sh.in b/bazel/ci/go_tidy.sh.in similarity index 100% rename from bazel/ci/tidy.sh.in rename to bazel/ci/go_tidy.sh.in diff --git a/bazel/ci/golangci.sh.in b/bazel/ci/golangci_lint.sh.in similarity index 100% rename from bazel/ci/golangci.sh.in rename to bazel/ci/golangci_lint.sh.in diff --git a/bazel/ci/licenseheader.sh.in b/bazel/ci/license_header.sh.in similarity index 100% rename from bazel/ci/licenseheader.sh.in rename to bazel/ci/license_header.sh.in diff --git a/bazel/ci/tf.sh.in b/bazel/ci/terraform.sh.in similarity index 100% rename from bazel/ci/tf.sh.in rename to bazel/ci/terraform.sh.in