Files
stacks-puppet-node/detect
2018-11-14 15:53:42 -05:00

11 lines
212 B
Bash

#!/usr/bin/env bash
BUILD_DIR=$1
# Exit early if app is clearly not Python.
if [ ! -f $BUILD_DIR/requirements.txt ] && [ ! -f $BUILD_DIR/setup.py ] && [ ! -f $BUILD_DIR/Pipfile ]; then
exit 1
fi
echo Python