mirror of
https://github.com/fosrl/olm.git
synced 2026-02-07 21:46:40 +00:00
Remove test update makefile
This commit is contained in:
19
Makefile
19
Makefile
@@ -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
|
||||
Reference in New Issue
Block a user