tools/test/test_dub.sh
2018-06-17 14:28:13 +02:00

13 lines
428 B
Bash
Executable file

#!/bin/bash
# Test building of all DUB packages
set -euo pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# dman is excluded in this test because it requires the d-tags.json file for building
for package in tests_extractor dget checkwhitespace ddemangle detab tolf \
rdmd contributors changed catdoc ; do
echo "Testing DUB build of $package"
dub build --root "$DIR/.." ":$package"
done