summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-07 11:01:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-07 11:32:37 +0000
commit43fb2c012e4c8a6394e9177e48999bde4de1846a (patch)
treea885a3b4c35613eed0fbbf57b9b0c63f4e2c2818 /Makefile
parenta8f564287e002c399ec57c1490fd80d83ff74d68 (diff)
downloadabuild-43fb2c012e4c8a6394e9177e48999bde4de1846a.tar.gz
abuild-43fb2c012e4c8a6394e9177e48999bde4de1846a.tar.bz2
abuild-43fb2c012e4c8a6394e9177e48999bde4de1846a.tar.xz
abuild-43fb2c012e4c8a6394e9177e48999bde4de1846a.zip
add basic tests using bats
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9206787..3e95f81 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,9 @@ help:
@echo "$(P) makefile"
@echo "usage: make install [ DESTDIR=<path> ]"
+check: $(USR_BIN_FILE) functions.sh
+ cd tests && bats *.bats
+
install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh
install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(sysconfdir) \
$(DESTDIR)/$(datadir) $(DESTDIR)/$(mandir)/man1 \