Clone the repo to your device git clone https://github.com/codelikesuraj/betty-for-termux
cd into the cloned repo cd betty-for-termux
Run the installation script (ROOT PRIVILEGE IS NOT REQUIRED) ./install.sh
to install betty and the following manuals.
- betty(1)
- betty-style(1)
- betty-doc(1)
This also installs the termux 'perl' package (or you can do that manually with pkg install perl
.
Run the following command to check if your code/doc fits the Betty Style (mostly inspired from the Linux Kernel style):
betty file1 [file2 [file3 [...]]]
betty-style file1 [file2 [file3 [...]]]
betty-doc file1 [file2 [file3 [...]]]
Please visit the Betty Wiki for the full specifications of Betty coding and documentation styles.
You'll also find some references and some tools for common text editors such as Emacs and Atom.