From 62fa7224c8512b8b8071316aa7eb9aedcf8d7515 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Wed, 1 May 2024 18:27:19 -0700 Subject: [PATCH] minor changes to make and gitignore --- .gitignore | 1 + makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index efcc85d..29a5f2f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ server *.so *.dylib collector +newsbot.db # Test binary, built with `go test -c` *.test diff --git a/makefile b/makefile index c0ccd02..55689f2 100644 --- a/makefile +++ b/makefile @@ -4,8 +4,8 @@ help: ## Shows this help command build: ## builds the application with the current go runtime ~/go/bin/swag f - ~/go/bin/swag i - go build . + ~/go/bin/swag init -g cmd/server.go + go build cmd/server.go docker-build: ## Generates the docker image docker build -t "newsbot.collector.api" .