Skip to content

tatehanawalt/th_sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TH_SYS

Executable projects written in various languages

Find Brew install instructions at tatehanawalt/homebrew-devtools

Overview

Each project is a single project which can be built/compiled to a single binary (or java byte code) and installed/run with brew

Project Criteria:

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

Specific Project Files:

bin/build - Builds project binary or java byte code

Params:

  1. Project Path: <path/to/this/repo>/<project>

  2. Destination path: A directory where the build script must build the project to

  3. 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

  1. cd to the root directory of one of the projects - <path/to/repo>/<project

  2. Create a directory where the project will build. try <path/to/repo>/out with mkdir out

  3. Run Build Command ./bin/build $(pwd) $(pwd)/out 0.0.0

Projects

democ

democpp

demogolang

demonodejs

demopython

demozsh

devenv

gaffer

Development

Generate Project README

The readme is generated by running the script below with no arguments.

./.github/scripts/gen_readme.sh