From c8ca13623f77a1ea443ca0639c9ff238344b8828 Mon Sep 17 00:00:00 2001 From: Bhavik Sachdev Date: Tue, 3 Sep 2024 01:35:32 +0530 Subject: [PATCH] removes old build.sh --- build.sh | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 build.sh diff --git a/build.sh b/build.sh deleted file mode 100755 index e532b69..0000000 --- a/build.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -set -e - -echo "Formatting Go code..." -gofmt -s -w $(pwd) - -echo "Running go mod tidy..." -go mod tidy - -echo "Running tests..." -go test -v ./... - -echo "------------Running golangcli-lint---------------" -echo "Running GoLint" -golangci-lint run -LINT_EXIT_CODE=$? - -if [ $LINT_EXIT_CODE -ne 0 ]; then - echo "Error During Linting. Fix the issues" - exit $LINT_EXIT_CODE -fi - -echo "------------All tests passed successfully---------------" - -echo "Building the project" -go build ./... - -echo "Tasks completed successfully!" -