Cuckoo/build_generator

10 lines
282 B
Bash
Executable File

#!/usr/bin/env bash
# getting the script directory: https://stackoverflow.com/a/246128
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd "${DIR}/Generator"
rm -rf .build
env -i PATH="$PATH" HOME="$HOME" swift build --configuration release -Xswiftc -static-stdlib
popd