teacher-tools/build-api.sh

11 lines
169 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -o pipefail
echo "Building API"
cd api
dub clean
dub build --build=release --compiler=/opt/ldc2/ldc2-1.36.0-linux-x86_64/bin/ldc2
cd ..