File tree Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,12 @@ echo "======= FORMATTING CODE ========="
4646ruff format
4747echo " ======= BUILDING PACKAGE ========="
4848if [[ " ${offline} " = " 1" ]]; then
49+ cp " ${ROOT_DIR} /conf/offline/setup.py" " ${ROOT_DIR} /"
50+ cp " ${ROOT_DIR} /conf/offline/sonar-tools" " ${ROOT_DIR} /"
51+ mv " ${ROOT_DIR} /pyproject.toml" " ${ROOT_DIR} /pyproject.toml.bak"
4952 python setup.py bdist_wheel
53+ mv " ${ROOT_DIR} /pyproject.toml.bak" " ${ROOT_DIR} /pyproject.toml"
54+ rm " ${ROOT_DIR} /setup.py" " ${ROOT_DIR} /sonar-tools"
5055 # python -m build
5156else
5257 rm -rf " ${ROOT_DIR} /build/lib/sonar" " ${ROOT_DIR} /build/lib/cli" " ${ROOT_DIR} " /build/scripts* /sonar-tools " ${ROOT_DIR} " /dist/sonar_tools*
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments