Lightweight, KISS system to rebuild some git projects when they change.
.git-build | ||
.gitignore | ||
git-build.sh | ||
LICENSE | ||
README.md |
git-build.sh
Lightweight, KISS system to rebuild some git projects when they change.
Setup
Simply place git-build.sh in your path.
Usage
git-build.sh looks up your ~/.git-build/ folder to find stuff to build:
- config/ <-- additional settings/files for use in scripts
- PROJECT.source <-- URL to the git repo for PROJECT
- PROJECT.branch (optional) <-- branch to checkout
- PROJECT <-- script to execute when the project is updated
Additionally, for each PROJECT a .PROJECT/ folder is created to clone the repository.
Example
As an example on how to get started, this repo includes a .git-build/ folder. It's the configuration that generates this site.