Skip to content

Commit

Permalink
simplified nano builder config
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Jun 30, 2024
1 parent 6c83c33 commit b9f4a16
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b9f4a16

Please sign in to comment.