mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
15 lines
336 B
Bash
Executable file
15 lines
336 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ $BUILD == dub ]]; then
|
|
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=release
|
|
elif [[ $DC == ldc2 ]]; then
|
|
git submodule update --init --recursive
|
|
make ldc -j2
|
|
else
|
|
git submodule update --init --recursive
|
|
make debug -j2
|
|
fi
|
|
|
|
cd tests && ./test.sh
|