aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bin/clion_wrapper.sh
blob: 2c40ed55417e4c5409357c41bf5f800a87f8ab5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
script_dir=$(dirname "$BASH_SOURCE")

export DISTILLERY_BUILD_NAME=-debug

cd "${script_dir}"
source ./export_ccnx_env.sh

cd ${DISTILLERY_ROOT_DIR}/src

osType=`uname -s`

case "$osType" in
	Darwin)
		open /Applications/CLion.app
		;;
	Linux)
		clion.sh
		;;
	*)
		echo "System not recognized, edit ${0} to add support"
		;;
esac