Remove test update makefile

This commit is contained in:
Owen Schwartz
2024-11-23 17:41:51 -05:00
parent f48502dd08
commit 99f7d13efe
6 changed files with 15 additions and 23 deletions

View File

@@ -1,8 +1,17 @@
# Description: Makefile for building the project
BINARY_NAME=newt
ll: build
all: build push
build:
go build -o bin/$(BINARY_NAME) -v
docker build -t fossorial/newt:latest .
push:
docker push fossorial/newt:latest
test:
docker run -it -p 3002:3002 -v ./config_example.json:/config/config.json --cap-add=NET_ADMIN --cap-add=SYS_MODULE newt --config /config/config.json
local:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o newt
clean:
rm newt