diary

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

HOMEBREW.md (648B)


      1 # Brew Formula
      2 
      3 How to brew:
      4 * https://docs.brew.sh/Formula-Cookbook#basic-instructions
      5 * https://github.com/Homebrew/homebrew-core/blob/HEAD/CONTRIBUTING.md
      6 
      7 Clone `homebrew/core`:
      8 ```
      9 brew tap homebrew/core
     10 ```
     11 
     12 Checkout new branch with new version:
     13 ```
     14 cd $(brew --repository homebrew/core)
     15 git branch -m feat/diary-v0.XY
     16 ```
     17 
     18 For a new Formula:
     19 ````
     20 brew create https://code.in0rdr.ch/diary/archive/diary-v0.XY.tar.gz
     21 ````
     22 
     23 To patch the existing Formula:
     24 ```
     25 cat cat Formula/d/diary.rb
     26 ```
     27 
     28 To build from sources:
     29 ```
     30 HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --debug diary
     31 ```
     32 
     33 To test:
     34 ```
     35 brew test diary
     36 ```