summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-01-29 09:50:29 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-01-29 09:50:29 +0000
commit7c1609b1bb4b6b7219b21b0d2750fcfaf02d63bc (patch)
tree7ac6861201db259499d78e54c85ad30ce4d7fc4d
parentea1db36f1f62889ddcf4dbf8ca85409619d4424c (diff)
downloadabuild-7c1609b1bb4b6b7219b21b0d2750fcfaf02d63bc.tar.gz
abuild-7c1609b1bb4b6b7219b21b0d2750fcfaf02d63bc.tar.bz2
abuild-7c1609b1bb4b6b7219b21b0d2750fcfaf02d63bc.tar.xz
abuild-7c1609b1bb4b6b7219b21b0d2750fcfaf02d63bc.zip
sample apkbuild: document check() function usage
-rw-r--r--sample.APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/sample.APKBUILD b/sample.APKBUILD
index a95fec2..30184c5 100644
--- a/sample.APKBUILD
+++ b/sample.APKBUILD
@@ -43,4 +43,11 @@ package() {
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
+check() {
+ # uncomment the 2 lines below if there is a testsuite. we assume the testsuite
+ # is run using "make check", which is the default for autotools-based build systems.
+ # cd "$builddir"
+ # make check || return 1
+}
+
md5sums="" #generate with 'abuild checksum'