From b9f4a1641eabdc0e5287d168299e6fdca002e7bb Mon Sep 17 00:00:00 2001 From: NeonKirill Date: Sun, 30 Jun 2024 14:27:25 +0200 Subject: [PATCH] simplified nano builder config --- .github/workflows/unit_tests.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 319c50e8..dac25403 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -72,12 +72,7 @@ jobs: - name: Install JS Beautifier run: | python -m pip install jsbeautifier==1.15.1 - - name: Setup Nano Builder PYTHONPATH - run: | - echo "PYTHONPATH=/:/scripts:$PYTHONPATH" >> $GITHUB_ENV - name: Build Nano JS - working-directory: ./chat_client/static - run: python ../../scripts/file_merger.py --weighted_dirs 1=['js'] --weighted_files 0=['nano_builder.js'] --skip_files meta.js klatchatNano.js --save_to ./js/klatchatNano.js --beautify 1 + run: python ./scripts/file_merger.py --weighted_dirs 1=['js'] --weighted_files 0=['nano_builder.js'] --skip_files meta.js klatchatNano.js --save_to ./chat_client/static/js/klatchatNano.js --beautify 1 - name: Build Nano CSS - working-directory: ./chat_client/static - run: python ../../scripts/file_merger.py --weighted_dirs 1=['css'] --skip_files sidebar.css klatchatNano.css --save_to ./css/klatchatNano.css --beautify 0 + run: python ./scripts/file_merger.py --weighted_dirs 1=['css'] --skip_files sidebar.css klatchatNano.css --save_to ./chat_client/static/css/klatchatNano.css --beautify 0