build.sh/README.md

23 lines
710 B
Markdown
Raw Normal View History

2020-04-18 01:51:03 +00:00
# git-build.sh
2020-04-18 01:59:19 +00:00
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](https://thunix.net/~southerntofu/rfc).