Skip to content

Instantly share code, notes, and snippets.

@muteKey
muteKey / gist:5162354
Last active December 14, 2015 22:59
Script for creation needed project structure
PROJECT=$1
TARGET=$2
if [ "$PROJECT" == '' ] || [ "$TARGET" == '' ]; then
echo "Usage $0 projectDirectory targetDirectory"
exit
fi
if [ ! -d $PROJECT/$TARGET ]; then
echo "$PROJECT/$TARGET does not exist"
PROJECT=$1
TARGET=$2
if [ "$PROJECT" == '' ] || [ "$TARGET" == '' ]; then
echo "Usage $0 projectDirectory targetDirectory"
exit
fi
if [ ! -d $PROJECT/$TARGET ]; then
echo "$PROJECT/$TARGET does not exist"