Added a build incrementer to the CMakeList. In order to increase the build number, you must invoke cmake -DBUILD_INCREMENT=1. The version is reported as X.Y.Z(build#). This depends on the file build

This commit is contained in:
stephb9959
2021-04-25 08:48:42 -07:00
parent f9f29e50a8
commit c682b02b3e
6 changed files with 49 additions and 14 deletions

23
test_scripts/python/cli.py Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env python3
import socket
import sys
import os
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
server_address = '/tmp/app.ucentralgw'
try:
sock.connect(server_address)
except socket.error:
print >> sys.stderr, 'Could not connect'
sys.exit(1)
try:
message = 'set loglevel notice WebSocket'
sock.sendall(message.encode('utf-8'))
finally:
sock.close()