23 lines
618 B
Bash
Executable File
23 lines
618 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
# Options: see /test/Database.hs (Main)
|
|
|
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
|
|
|
if ! in-develop | grep -q 'In develop'; then
|
|
printf "Not in develop"
|
|
exit 1
|
|
fi
|
|
|
|
stack build --fast --flag uniworx:-library-only --flag uniworx:dev
|
|
|
|
export SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true}
|
|
export AVSPASS=${AVSPASS:-nopasswordset}
|
|
stack exec uniworxdb -- $@
|