A skeleton project. Feel free to fork and adapt. Pull requests welcome.
The following command:
- Asks for an installation directory
- Asks for a skeleton origin URL
- Clones the origin
- Overwrites installation directory with src/ directory
- Initialises an empty Git repository in the installation directory
(ORIGIN="https://github.com/markchalloner/git-skeleton" && \
echo -n "Installation directory (use . for current): " && read TARGET && \
git clone "${ORIGIN}" "${TARGET}" && \
find "${TARGET}" -mindepth 1 -maxdepth 1 ! \( -name 'src' -o -name '.' -o -name '..' \) -exec rm -rf {} \; && \
shopt -s dotglob && mv "${TARGET}/src/"* "${TARGET}" && rm -rf "${TARGET}/src" && \
cd "${TARGET}" && git init && \
echo "Done. Have a nice day")
Once checked out update the follwoing files with the project name (search {project}
):
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.