minor changes to make and gitignore

This commit is contained in:
James Tombleson 2024-05-01 18:27:19 -07:00
parent c44d7f20bc
commit 62fa7224c8
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ server
*.so *.so
*.dylib *.dylib
collector collector
newsbot.db
# Test binary, built with `go test -c` # Test binary, built with `go test -c`
*.test *.test

View File

@ -4,8 +4,8 @@ help: ## Shows this help command
build: ## builds the application with the current go runtime build: ## builds the application with the current go runtime
~/go/bin/swag f ~/go/bin/swag f
~/go/bin/swag i ~/go/bin/swag init -g cmd/server.go
go build . go build cmd/server.go
docker-build: ## Generates the docker image docker-build: ## Generates the docker image
docker build -t "newsbot.collector.api" . docker build -t "newsbot.collector.api" .