Skip to content

Commit 82069d2

Browse files
committed
Minor cleanup
1 parent 8991528 commit 82069d2

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/pr_checks.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,12 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: 'stable'
24+
go-version: "stable"
2525
- name: Remove system golang (Unix)
2626
if: runner.os != 'Windows'
2727
run: sudo rm -rf $(which go) || true
2828
- name: Build goenv
2929
run: make build
30-
- name: Create bin directory for backward compatibility
31-
run: make bin/goenv
3230
- name: Run Unit Tests
3331
run: make test
3432
env:

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@
1111
/bats-core/
1212
.idea
1313
plugins/go-build/test/tmp/
14+
15+
# Go build artifacts
16+
/bin/
17+
/goenv
18+
goenv-*
19+
*.exe

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,12 @@ all: build
1919
build:
2020
go build $(LDFLAGS) -o $(BINARY_NAME) .
2121

22-
# Create legacy binary location for backwards compatibility during transition
23-
bin/goenv: build
24-
mkdir -p bin
25-
cp $(BINARY_NAME) bin/goenv
26-
2722
test:
2823
go test -v ./...
2924

3025
clean:
3126
rm -f $(BINARY_NAME)
32-
rm -rf bin/
27+
rm -rf bin/ dist/
3328
go clean
3429

3530
install: build
@@ -73,4 +68,4 @@ bats-test:
7368
version:
7469
@echo "Version: $(VERSION)"
7570
@echo "Commit: $(COMMIT_SHA)"
76-
@echo "Build Time: $(BUILD_TIME)"
71+
@echo "Build Time: $(BUILD_TIME)"

0 commit comments

Comments
 (0)