Skip to content

Commit

Permalink
♻️ Use build in PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ishantiw committed Feb 8, 2024
1 parent 2514f40 commit 747d46f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@

# Go workspace file
go.work

# Folders
/bin/
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ BLUE = \033[0;34m
COLOR_END = \033[0;39m

build:
@echo "$(BLUE)» Building fault detector application... $(COLOR_END)"
@CGO_ENABLED=0 go build -v ./...
@echo "$(GREEN) Binary successfully built$(COLOR_END)"

build-app:
@echo "$(BLUE)» Building fault detector application binary... $(COLOR_END)"
@CGO_ENABLED=0 go build -a -o bin/$(APP_NAME) ./cmd/
@CGO_ENABLED=0 go build -a -v -o bin/$(APP_NAME) ./cmd/
@echo "$(GREEN) Binary successfully built$(COLOR_END)"

run-app:
Expand Down
Binary file removed bin/faultdetector
Binary file not shown.

0 comments on commit 747d46f

Please sign in to comment.