Skip to content

Commit 522de42

Browse files
committed
~ quiet down the build-all.sh output
- Add `-B -q` flags to Maven build for batch and quiet modes. - Add `-q --console=plain` flags to Gradle build to simplify output formatting.
1 parent 53b730b commit 522de42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
``#!/bin/bash
1+
#!/bin/bash
22

33
# Build script for all Ignition SDK example projects
44
# Automatically detects Maven (pom.xml) or Gradle (build.gradle/build.gradle.kts) projects
@@ -35,7 +35,7 @@ for dir in $directories; do
3535
# Detect project type and build accordingly
3636
if [ -f "pom.xml" ]; then
3737
echo -e "${BLUE}Detected Maven project${NC}"
38-
if mvn clean package; then
38+
if mvn clean package -B -q; then
3939
echo -e "${GREEN}${project_name} built successfully${NC}"
4040
successful_builds+=("$project_name")
4141
else
@@ -45,7 +45,7 @@ for dir in $directories; do
4545
fi
4646
elif [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then
4747
echo -e "${BLUE}Detected Gradle project${NC}"
48-
if ./gradlew clean build; then
48+
if ./gradlew clean build -q --console=plain; then
4949
echo -e "${GREEN}${project_name} built successfully${NC}"
5050
successful_builds+=("$project_name")
5151
else

0 commit comments

Comments
 (0)