From dee272db722c6b1a6bb9266c7ffeb1d1271ea471 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 15 Jul 2021 16:31:53 +0200 Subject: [PATCH] Add CLI in deb package --- Makefile | 6 ++++-- src/cli.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8b9bc87..4cc321b 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,9 @@ $(BINDIR)/gem-graph-server.deb: all mkdir -p gem-graph-server/DEBIAN cp $(DEBDIR)/Manifest gem-graph-server/DEBIAN/control cp $(BINDIR)/gem-graph-server gem-graph-server/usr/bin - cp $(DEBDIR)/copyright gem-graph-server/usr/share/doc/gem-graph-server/copyright + cp $(BINDIR)/gem-graph-ctl gem-graph-server/usr/bin + cp $(DEBDIR)/copyright \ + gem-graph-server/usr/share/doc/gem-graph-server/copyright dpkg-deb --build gem-graph-server rm -rf gem-graph-server @@ -103,7 +105,7 @@ deb: $(BINDIR)/gem-graph-server.deb install: echo "Installing is not supported" -# ---- Builder uses this target to run your application ---------------------- # +# ---- Builder uses this target to run the application ----------------------- # run: all bin/gem-graph-server run-cli: all diff --git a/src/cli.c b/src/cli.c index 62c7e81..b2b330c 100644 --- a/src/cli.c +++ b/src/cli.c @@ -49,8 +49,8 @@ #define C_SAVE_CURSORPOS "\e7" #define C_RESTORE_CURSORPOS "\e8" #define C_COLOR_RED "\e[01;31m" -#define C_COLOR_YELLOW "\e[01;33m" -#define C_COLOR_GREEN "\e[01;32m" +#define C_COLOR_YELLOW "\e[00;33m" +#define C_COLOR_GREEN "\e[00;32m" #define C_COLOR_BLUE "\e[01;34m" #define C_COLOR_NORMAL "\e[0m"