TOOL=natto
# upcoming version
VERSION=0.2

all:
	cabal build
	cp `cabal list-bin $(TOOL)` .

clean:
	cabal clean
	rm -f $(TOOL)

archive:
	git archive --format=tar --prefix=$(TOOL)/ HEAD | gzip > $(TOOL)-$(VERSION).tgz

static:
	docker build --output type=local,dest=. -t natto-static .
