Squash commits for public release
This commit is contained in:
21
utils/codeassistant/recompile_connections.py
Normal file
21
utils/codeassistant/recompile_connections.py
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
# Launch the script from root of the project to have the correct paths
|
||||
|
||||
import subprocess
|
||||
import os
|
||||
import sys
|
||||
|
||||
connections = [
|
||||
["libs/libapi/includes/libapi/window_server/Connections/ws_connection.ipc",
|
||||
"libs/libapi/includes/libapi/window_server/Connections/WSConnection.h"],
|
||||
]
|
||||
|
||||
for conn in connections:
|
||||
inf = conn[0]
|
||||
outf = conn[1]
|
||||
print("Compiling {0} -> {1}", inf, outf)
|
||||
cmd = ["utils/compilers/ConnectionCompiler/connc"]
|
||||
cmd.extend([inf, outf])
|
||||
result = subprocess.run(cmd, stdout=subprocess.PIPE)
|
||||
print(result.stdout.decode("ascii"))
|
||||
print()
|
||||
Reference in New Issue
Block a user