From 3dcf39c0162cd9110b659fbb7bd79c3e9a89f79e Mon Sep 17 00:00:00 2001 From: Aran-Fey Date: Wed, 24 Sep 2025 14:27:07 +0200 Subject: [PATCH] speed up build script --- scripts/build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/build.py b/scripts/build.py index b7a248d3..2c77cbaa 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -3,9 +3,7 @@ import sys import typing as t from pathlib import Path -import rio.utils - -PROJECT_ROOT_DIR = rio.utils.PROJECT_ROOT_DIR +PROJECT_ROOT_DIR = Path(__file__).absolute().parent.parent INPUT_DIR = PROJECT_ROOT_DIR / "frontend" OUTPUT_DIR = PROJECT_ROOT_DIR / "rio" / "frontend files" ASSETS_DIR = OUTPUT_DIR / "assets"