Removing building when testing current build.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adsooi 2024-09-30 01:45:02 +02:00
parent cd6f258720
commit 07e556da56
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

5
run.py
View file

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
from os import system, getcwd, path
from sys import path as sys_path
from sys import path as sys_path, argv
def build():
"""
@ -29,7 +29,8 @@ def run():
logarithmplotter.run()
if __name__ == "__main__":
build()
if '--test-build' not in argv:
build()
logplotter_path = path.realpath(path.join(getcwd(), "build", "runtime-pyside6"))
print("Appending " + logplotter_path + " to path...")
sys_path.append(logplotter_path)