Working with a boilerplate
This commit is contained in:
@@ -75,10 +75,9 @@ GOOS=linux
|
||||
GOARCH=amd64
|
||||
DOCKER_IMG=
|
||||
DOCKER_REG=
|
||||
all: tidy build run
|
||||
all: clean build run
|
||||
|
||||
# Ignore
|
||||
tidy:
|
||||
clean:
|
||||
@echo -ne "Formating Code \r"
|
||||
@go fmt ./...
|
||||
@rm $(OUT)
|
||||
@@ -117,7 +116,7 @@ build-migrate:
|
||||
@echo -ne "Running Migrate \r"
|
||||
@migrate \
|
||||
-path ./src/db/migration\
|
||||
-database postgres://gitea:gitea@localhost:5432/test1?sslmode=disable\
|
||||
-database postgres://gitea:gitea@localhost:5432/test3?sslmode=disable\
|
||||
up
|
||||
|
||||
build-sqlc:
|
||||
|
||||
Reference in New Issue
Block a user