Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Move Go Module to src Folder #16

Merged
merged 4 commits into from
May 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change Makefile to work with Go module in src folder
halprin committed May 15, 2024
commit 74087bb8ff32f7009f65b45025ca25203d03ec81
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
compile:
go build -o ./reportstream-sftp-ingestion ./cmd/
cd ./src/ && go build -o ../reportstream-sftp-ingestion ./cmd/

unitTests:
go test ./...
cd ./src/ && go test ./...

vet:
go vet ./...
cd ./src/ && go vet ./...

formatCheck:
gofmt -l ./ && test -z "$(gofmt -l ./)"
cd ./src/ && gofmt -l ./ && test -z "$(gofmt -l ./)"

formatApply:
gofmt -w ./
cd ./src/ && gofmt -w ./

dockerBuild:
docker build . -t reportstream-sftp-ingestion