mirror of
https://github.com/corda/corda.git
synced 2024-12-25 23:51:10 +00:00
c6bed31f58
* 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
19 lines
379 B
Bash
Executable File
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}"
|