summaryrefslogtreecommitdiff
path: root/Makefile
blob: 07d33df761a8af84bafc6702a6f74ed081f865e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PREFIX?=/usr/local
OUTPUT?=bin/workctl

all: build

install: build
	install -m755 $(OUTPUT) $(PREFIX)/bin/workctl

build:
	go build -v -o $(OUTPUT) .

test:
	go test -v ./...

run:
	go run -v .

tiny:
	tinygo build .