Lightweight, KISS system to rebuild some git projects when they change.
Go to file
southerntofu 417a8ff6d0 git-build updates git-build plz 2020-04-17 23:49:58 -04:00
.git-build git-build updates git-build plz 2020-04-17 23:49:58 -04:00
.gitignore Initial commit 2020-04-17 21:51:03 -04:00
LICENSE Initial commit 2020-04-17 21:51:03 -04:00
README.md git-build.sh first edition 2020-04-17 21:59:19 -04:00
git-build.sh Disable trap because WTF 2020-04-17 23:44:01 -04:00

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.