sheepy

build system (sheepy) and package manager (spm) for C
git clone https://spartatek.se/git/sheepy.git
Log | Files | Refs | README | LICENSE

commit ad817caf1f90c4adbcd24ab1bb9d1b314742d29f
parent 1a2a08314cf70e4980f373fb00774e5b5f52d3bd
Author: Remy Noulin <loader2x@gmail.com>
Date:   Sat, 10 Oct 2020 12:06:03 +0200

print options in cyan color in help text

src/sheepy.c | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)

Diffstat:
Msrc/sheepy.c | 38+++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/sheepy.c b/src/sheepy.c @@ -290,26 +290,26 @@ int MAIN(int ARGC, char** ARGV) { put putsG("For spm package manager help, run: spm help"); put - putsG(" NO ARGUMENT Compile bin executable or compile library from package.yml"); - putsG(" PROGNAME.c No option: compile and run executable"); + putsG(BLD CYN" NO ARGUMENT"RST" Compile bin executable or compile library from package.yml"); + putsG(BLD CYN" PROGNAME.c"RST" No option: compile and run executable"); put - putsG(" -c (PROGNAME.c) Compile executable in argument or bin from package"); - putsG(" -e (PROGNAME.c) Show executable path for argument or bin from package"); { - putsG(" -l (PROGNAME.c) Compile static and dynamic libraries for argument or bin from package"); { - putsG(" -d (PROGNAME.c) Delete intermediary files for argument or bin from package"); { - putsG(" -t (PROGNAME.c) Compile executable in argument or testBin from package using the test compiler and test linker flags"); - putsG(" -m (PROGNAME.c) Compile executable in argument or memcheckBin from package using the memcheck compiler and linker flags"); - putsG(" -a (PROGNAME.c) Compile executable in argument or asanBin from package using the asan compiler and linker flags"); - putsG(" -n PROGNAME New source program from template"); - putsG(" -r Remove all temporary build files in ~/.sheepy/build"); - putsG(" -C CLASSNAME Generate C templates for classname (classnames start with lowercase letters, the first char in classname is lowered)"); { - putsG(" -T Generate C unit test templates (using the libcheck test library), the generated filename is set with testBin in "PACKAGE); - putsG(" -g (PROGNAME.c) Debug already compiled executable with debuggerCmd in config.yml"); - putsG(" -gt (PROGNAME.c) Debug already compiled testBin executable from package with debuggerCmd in config.yml"); - putsG(" -gm (PROGNAME.c) Debug already compiled memcheckBin executable from package with debuggerCmd in config.yml"); - putsG(" -ga (PROGNAME.c) Debug already compiled asanBin executable from package with debuggerCmd in config.yml"); - putsG(" -D Show default " HOME_DIR CONFIG_NAME " configuration"); - putsG(" -h Show this help text"); + putsG(BLD CYN" -c (PROGNAME.c)"RST" Compile executable in argument or bin from package"); + putsG(BLD CYN" -e (PROGNAME.c)"RST" Show executable path for argument or bin from package"); { + putsG(BLD CYN" -l (PROGNAME.c)"RST" Compile static and dynamic libraries for argument or bin from package"); { + putsG(BLD CYN" -d (PROGNAME.c)"RST" Delete intermediary files for argument or bin from package"); { + putsG(BLD CYN" -t (PROGNAME.c)"RST" Compile executable in argument or testBin from package using the test compiler and test linker flags"); + putsG(BLD CYN" -m (PROGNAME.c)"RST" Compile executable in argument or memcheckBin from package using the memcheck compiler and linker flags"); + putsG(BLD CYN" -a (PROGNAME.c)"RST" Compile executable in argument or asanBin from package using the asan compiler and linker flags"); + putsG(BLD CYN" -n PROGNAME(.c)"RST" New source program from template"); + putsG(BLD CYN" -r"RST" Remove all temporary build files in ~/.sheepy/build"); + putsG(BLD CYN" -C CLASSNAME"RST" Generate C templates for classname (classnames start with lowercase letters, the first char in classname is lowered)"); { + putsG(BLD CYN" -T"RST" Generate C unit test templates (using the libcheck test library), the generated filename is set with testBin in "PACKAGE); + putsG(BLD CYN" -g (PROGNAME.c)"RST" Debug already compiled executable with debuggerCmd in config.yml"); + putsG(BLD CYN" -gt (PROGNAME.c)"RST" Debug already compiled testBin executable from package with debuggerCmd in config.yml"); + putsG(BLD CYN" -gm (PROGNAME.c)"RST" Debug already compiled memcheckBin executable from package with debuggerCmd in config.yml"); + putsG(BLD CYN" -ga (PROGNAME.c)"RST" Debug already compiled asanBin executable from package with debuggerCmd in config.yml"); + putsG(BLD CYN" -D"RST" Show default " HOME_DIR CONFIG_NAME " configuration"); + putsG(BLD CYN" -h"RST" Show this help text"); XSUCCESS } }