corda/sgx-jvm/environment
Tommy Lillehagen c6bed31f58
ENT-1012 - Add build container and sx utility (#171)
* ENT-1012 - Add build container and sx utility

* ENT-1012 - Add readme file for the sx utility

* ENT-1012 - Check that Docker is installed

* ENT-1256 - Add ProGuard 6 Beta dependency

* ENT-1012 - Phony targets in container build
2017-12-15 13:12:16 +00:00

19 lines
379 B
Bash
Executable File

#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# make the sx tool available for the user
alias sx="bash ${DIR}/tools/sx/sx"
# load sx configuration
if [ -e "/tmp" ]; then
TMPDIR=${TMPDIR:-/tmp}
fi
TMP_CONFIG="${TMPDIR}/sx.config"
if [ -z "${TMPDIR}" ]; then
TMP_CONFIG=$(tempfile)
fi
sx shell auto-completion > "${TMP_CONFIG}"
source "${TMP_CONFIG}"