#!/usr/bin/env bash cd "$(dirname "$0")" source ./script/setup.sh # 1. It takes 300ms for cmd-help to generate. It's too long to run in build-debug.sh, that's why we ignore it # 2. Grammar is not expected to change very often, that's why it's not regenerated by default ./generate.sh --ignore-xcodeproj --ignore-cmd-help swift build "$@" swift build --target AppBundleTests "$@" # swift build doesn't build test targets by default :( rm -rf .debug && mkdir .debug cp -r .build/debug/deewm .debug cp -r .build/debug/DeeWMApp .debug