aboutsummaryrefslogtreecommitdiffstats
path: root/main/clang
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-17 15:13:04 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-22 02:45:59 +0200
commit277e2ed95463fafcdd58845886a52789e56f5edd (patch)
tree64cfeab5b4c4b66d94266cb1883cee0131086a0c /main/clang
parentc0f3c8c71e90f25a912bc24f92c309f6fecac2ac (diff)
downloadaports-277e2ed95463fafcdd58845886a52789e56f5edd.tar.bz2
aports-277e2ed95463fafcdd58845886a52789e56f5edd.tar.xz
main/clang: add basic check() function
Diffstat (limited to 'main/clang')
-rw-r--r--main/clang/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD
index 41a319afc8..dcfeb937f3 100644
--- a/main/clang/APKBUILD
+++ b/main/clang/APKBUILD
@@ -53,6 +53,14 @@ build() {
make
}
+check() {
+ cd "$builddir"/build
+
+ ./bin/clang --version
+ ./bin/clang-check --version
+ ./bin/clang-format --version
+}
+
package() {
cd "$builddir"/build