#!/usr/bin/env bash
# bin/release <build-dir>

BIN_DIR=$(cd $(dirname $0); pwd) # absolute path
BUILD_DIR=$1
NAME=$($BIN_DIR/detect $BUILD_DIR) || exit 1

cat <<EOF
---
config_vars:

EOF


# [ "$NAME" = "Python/Django" ] || exit 0

# MANAGE_FILE=$(cd $BUILD_DIR && find . -maxdepth 3 -type f -name 'manage.py' | head -1)
# MANAGE_FILE=${MANAGE_FILE:2}
# PROJECT=$(dirname $MANAGE_FILE)

# cat <<EOF

# addons:
#   shared-database:5mb

# default_process_types:
#   web:      python $PROJECT/manage.py runserver 0.0.0.0:\$PORT --noreload
# EOF
