Skip to content

Commit

Permalink
Added basic makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
networkop committed Jun 13, 2021
1 parent 7a08664 commit 94ecc24
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
BIN_DIR = $(shell pwd)/bin
BINARY = $(shell pwd)/bin/containerlab

all: build

build:
mkdir -p $(BIN_DIR)
go build -o $(BINARY) main.go

test:
go test -race ./... -v

lint:
golangci-lint run

0 comments on commit 94ecc24

Please sign in to comment.