From b3e00836335a902c73327e1ee69e0953e6e25f92 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 19 Jan 2022 16:43:03 +0100 Subject: [PATCH] Added cpl commands to compile --- cpl-workspace.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpl-workspace.json b/cpl-workspace.json index 3855f7e..78470b3 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -8,8 +8,13 @@ "Scripts": { "build-start": "cpl build; cd dist/py_to_uxf/build/py_to_uxf; echo \"Starting:\"; bash py_to_uxf -p ./ -o uml.uxf", "build-start-test": "cpl build; cd dist/py_to_uxf/build/py_to_uxf; echo \"Starting:\"; bash py_to_uxf -p ../../../../sh_gismo/src -o gismo.uxf", + "compile": "cd src/; pyinstaller --specpath ../dist/cspec --workpath ../dist/cbuild --distpath ../dist/cdist --add-data ../../src/py_to_uxf/appsettings.json:. --hidden-import pynput.keyboard._xorg --hidden-import pynput.mouse._xorg --hidden-import pyfiglet.fonts --collect-data pyfiglet -n py_to_uxf -y py_to_uxf/main.py; cd ../;", + "compile-start": "cpl compile; cd dist/cdist/py_to_uxf; echo \"Starting:\"; ./py_to_uxf -p ../../../src -o uml.uxf; cd ../../../", + "compile-start-test": "cpl compile; cd dist/cdist/py_to_uxf; echo \"Starting:\"; ./py_to_uxf -p ../../../../sh_gismo/src -o gismo.uxf; cd ../../../", "bs": "cpl build-start", - "bst": "cpl build-start-test" + "bst": "cpl build-start-test", + "cs": "cpl compile-start", + "cst": "cpl compile-start-test" } } } \ No newline at end of file