#!/bin/sh

REPO=$1

if [ "$REPO" = "" ]; then
        echo "Please specify a repo to create"
        exit
fi

if [ -d "$REPO" ]; then
	echo "Folder/repo already exists: $REPO"
	exit 1
fi

mkdir -p $REPO

cp slite/core/setup/.gitignore $REPO

cd $REPO
git init .

git add .
git commit -am "Initial"

echo "Done!"

