summaryrefslogtreecommitdiff
path: root/Makefile
blob: a9011b35120c5c32f5808090fa1f42065fdc4a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PACKAGE_NAME=git-repo
PACKAGE_VERSION=0.1+git-$(shell git describe --always HEAD)
PREFIX=/usr/local/bin

include Makefile.package


work/data: work work/data/$(PREFIX)
work/data/$(PREFIX):
	mkdir -p "$@"
	cp git-repo "$@"

.PHONY: shellcheck
shellcheck:
	shellcheck --shell=bash --color=never git-repo

.PHONY: test
test:
	test/run.sh