Skip to content

Commit

Permalink
fix: make file replace spaces with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
abdahmed22 committed Jul 8, 2024
1 parent e0554fa commit 9bfae07
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
all: install_dependencies build_binaries format lint test

install_dependencies:
go get ./...
go get ./...

build_binaries: install_dependencies
go build -o ./httpserver cmd/httpserver/main.go
go build -o ./ginserver cmd/ginserver/main.go
go build -o ./httpserver cmd/httpserver/main.go
go build -o ./ginserver cmd/ginserver/main.go

run_binaries: build_binaries
./httpserver
./ginserver
./httpserver
./ginserver

format:
go fmt ./...
go fmt ./...
lint:
golangci-lint run ./...
golangci-lint run ./...

test:
go test ./... -v
go test ./... -v

build_images:
docker build --tag=buildme-http:v3.0 --target=http
docker build --tag=buildme-gin:v3.0 --target=gin
docker build --tag=buildme-http:v3.0 --target=http
docker build --tag=buildme-gin:v3.0 --target=gin

run_containers:
docker compose up
docker compose up

0 comments on commit 9bfae07

Please sign in to comment.