From 220631711ed493acf59378fb71989c6732721cd5 Mon Sep 17 00:00:00 2001 From: lxowalle Date: Thu, 30 Apr 2026 22:43:42 +0800 Subject: [PATCH] * delete unused file --- scripts/test-goreleaser-build-mains.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 scripts/test-goreleaser-build-mains.sh diff --git a/scripts/test-goreleaser-build-mains.sh b/scripts/test-goreleaser-build-mains.sh deleted file mode 100644 index 6aa96f7ac..000000000 --- a/scripts/test-goreleaser-build-mains.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -CONFIG_FILE="${ROOT_DIR}/.goreleaser.yaml" - -failed=0 -while IFS= read -r main_path; do - main_path="${main_path#./}" - if [ ! -e "${ROOT_DIR}/${main_path}" ]; then - echo "missing goreleaser build main: ${main_path}" >&2 - failed=1 - fi -done < <(sed -n 's/^[[:space:]]*main:[[:space:]]*//p' "${CONFIG_FILE}") - -if [ "${failed}" -ne 0 ]; then - exit 1 -fi - -echo "all goreleaser build mains exist"