diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit a1c66830e2c56cda4c29c29b12d6dcd5ccc957c1
parent d435ad340932d5549de66e3cfdc8f737b7c62493
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Wed, 15 Jan 2025 20:35:00 +0100

doc: Homebrew

Diffstat:
Adocs/HOMEBREW.md | 36++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+), 0 deletions(-)

diff --git a/docs/HOMEBREW.md b/docs/HOMEBREW.md @@ -0,0 +1,36 @@ +# Brew Formula + +How to brew: +* https://docs.brew.sh/Formula-Cookbook#basic-instructions +* https://github.com/Homebrew/homebrew-core/blob/HEAD/CONTRIBUTING.md + +Clone `homebrew/core`: +``` +brew tap homebrew/core +``` + +Checkout new branch with new version: +``` +cd $(brew --repository homebrew/core) +git branch -m feat/diary-v0.XY +``` + +For a new Formula: +```` +brew create https://code.in0rdr.ch/diary/archive/diary-v0.XY.tar.gz +```` + +To patch the existing Formula: +``` +cat cat Formula/d/diary.rb +``` + +To build from sources: +``` +HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --debug diary +``` + +To test: +``` +brew test diary +```