fixes: fulls-peed parameter detection
Some checks failed
Nix Format Check / check-format (push) Failing after 36s
Some checks failed
Nix Format Check / check-format (push) Failing after 36s
This commit is contained in:
@ -5,6 +5,7 @@ while [[ "$#" -gt 0 ]]; do
|
||||
case $1 in
|
||||
--ha) RUN_HA=true ;;
|
||||
--nix) RUN_NIX=true ;;
|
||||
--full-speed) FULL_SPEED=true ;;
|
||||
*) echo "Unknown parameter passed: $1"; exit 1 ;;
|
||||
esac
|
||||
shift
|
||||
@ -16,7 +17,7 @@ if [[ -z "$RUN_HA" && -z "$RUN_NIX" ]]; then
|
||||
fi
|
||||
|
||||
# Check if --full-speed flag is passed, otherwise use --cores 8 -j 1
|
||||
if [[ "$1" == "--full-speed" ]]; then
|
||||
if [[ "$FULL_SPEED" == true ]]; then
|
||||
CORES=$(nproc)
|
||||
JOBS=$(nproc)
|
||||
else
|
||||
|
Reference in New Issue
Block a user