예제 #1
0
def check_environment():
  '''
  Check whether the environment variables are set
  :return:
  '''
  if not config.check_release_file_exists():
    sys.exit(1)
예제 #2
0
파일: main.py 프로젝트: ashvina/heron
def check_environment():
  '''
  Check whether the environment variables are set
  :return:
  '''
  if not config.check_java_home_set():
    sys.exit(1)

  if not config.check_release_file_exists():
    sys.exit(1)