Skip to content

Commit

Permalink
improve working on build
Browse files Browse the repository at this point in the history
  • Loading branch information
ltn-chriskennedy committed Jul 17, 2024
1 parent 0ec6f28 commit 160f889
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ if [ "$OS" = "Linux" ]; then
fi

# Build with SCL
echo "Building project (CentOS 7)..."
echo "Building on Linux ($BUILD) with Features [$FEATURES] ..."
if [ "$BUILD" = "release" ]; then
run_with_scl cargo build $FEATURES --release --quiet --jobs 1
elif [ "$BUILD" = "release-with-debug" ]; then
Expand Down Expand Up @@ -171,7 +171,7 @@ elif [ "$OS" = "Darwin" ]; then
export LDFLAGS="-lc++"
# macOS specific setup
# Build on macOS
echo "Building project (macOS)..."
echo "Building on macOS ($BUILD) with Features [$FEATURES]..."
if [ "$BUILD" = "release" ]; then
cargo build $FEATURES --release --quiet --jobs 1
elif [ "$BUILD" == "release-with-debug" ]; then
Expand All @@ -184,7 +184,7 @@ else
echo "Generic Unix-like OS detected."
# Generic Unix/Linux setup
# Build for generic Unix/Linux
echo "Building project..."
echo "Building on Unix ($BUILD) with Features [$FEATURES]..."
if [ "$BUILD" = "release" ]; then
cargo build $FEATURES --release --quiet --jobs 1
elif [ "$BUILD" == "release-with-debug" ]; then
Expand Down

0 comments on commit 160f889

Please sign in to comment.