apex-source-control/scripts/read-conf-file
2016-06-03 15:30:44 -04:00

19 lines
646 B
Plaintext
Executable File

# designed to be called from to level project dir
if [ ! -h ./config/asc.conf ]; then
echo "Missing symbolic link: $PWD/config/asc.conf"
echo "Please use the command 'npm run switch-conf-file' to create the symbolic link ./config/asc.conf to your config file"
echo "If you don't have a config file set up you can create one using 'npm run new-config-file'"
exit 1
fi
echo "The config file currently being used is: "
readlink ./config/asc.conf
echo
echo "The config file looks like this: "
cat ./config/asc.conf
echo "If any of the data looks wrong you can simply edit the file yourself at ./config/$(readlink ./config/asc.conf)"