Add CLI in deb package
This commit is contained in:
parent
89219f40c6
commit
dee272db72
6
Makefile
6
Makefile
|
@ -93,7 +93,9 @@ $(BINDIR)/gem-graph-server.deb: all
|
||||||
mkdir -p gem-graph-server/DEBIAN
|
mkdir -p gem-graph-server/DEBIAN
|
||||||
cp $(DEBDIR)/Manifest gem-graph-server/DEBIAN/control
|
cp $(DEBDIR)/Manifest gem-graph-server/DEBIAN/control
|
||||||
cp $(BINDIR)/gem-graph-server gem-graph-server/usr/bin
|
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
|
dpkg-deb --build gem-graph-server
|
||||||
rm -rf gem-graph-server
|
rm -rf gem-graph-server
|
||||||
|
|
||||||
|
@ -103,7 +105,7 @@ deb: $(BINDIR)/gem-graph-server.deb
|
||||||
install:
|
install:
|
||||||
echo "Installing is not supported"
|
echo "Installing is not supported"
|
||||||
|
|
||||||
# ---- Builder uses this target to run your application ---------------------- #
|
# ---- Builder uses this target to run the application ----------------------- #
|
||||||
run: all
|
run: all
|
||||||
bin/gem-graph-server
|
bin/gem-graph-server
|
||||||
run-cli: all
|
run-cli: all
|
||||||
|
|
|
@ -49,8 +49,8 @@
|
||||||
#define C_SAVE_CURSORPOS "\e7"
|
#define C_SAVE_CURSORPOS "\e7"
|
||||||
#define C_RESTORE_CURSORPOS "\e8"
|
#define C_RESTORE_CURSORPOS "\e8"
|
||||||
#define C_COLOR_RED "\e[01;31m"
|
#define C_COLOR_RED "\e[01;31m"
|
||||||
#define C_COLOR_YELLOW "\e[01;33m"
|
#define C_COLOR_YELLOW "\e[00;33m"
|
||||||
#define C_COLOR_GREEN "\e[01;32m"
|
#define C_COLOR_GREEN "\e[00;32m"
|
||||||
#define C_COLOR_BLUE "\e[01;34m"
|
#define C_COLOR_BLUE "\e[01;34m"
|
||||||
#define C_COLOR_NORMAL "\e[0m"
|
#define C_COLOR_NORMAL "\e[0m"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue