Executable projects written in various languages
Find Brew install instructions at tatehanawalt/homebrew-devtools
Each project is a single project which can be built/compiled to a single binary (or java byte code) and installed/run with brew
Projects must have root level directories:
-
bin
build
- Executable file (described below) which builds the project to a tar file .tar.gz
-
doc
-
man
<project_name>.1
- Man 1 Page file for the project
-
bin/build
- Builds project binary or java byte code
Params:
-
Project Path:
<path/to/this/repo>/<project>
-
Destination path: A directory where the build script must build the project to
-
Build Version: Semver
Exit Codes:
-
0: Successfully packaged project to the destination path
-
1: Input error (invalid param count, format, or any input/context related issues)
-
2: Failed to build project for any other reason
Build a project
-
cd
to the root directory of one of the projects -<path/to/repo>/<project
-
Create a directory where the project will build. try
<path/to/repo>/out
withmkdir out
-
Run Build Command
./bin/build $(pwd) $(pwd)/out 0.0.0
Generate Project README
The readme is generated by running the script below with no arguments.
./.github/scripts/gen_readme.sh