APP=appliance
SRC=./cmd/appliance

run:
	go run $(SRC)

build:
	go build -o bin/$(APP) $(SRC)

test:
	go test ./... -v

lint:
	@which golangci-lint > /dev/null || (echo "golangci-lint not found; visit https://golangci-lint.run/"; exit 0)
	golangci-lint run

clean:
	rm -rf bin
