Skip to content

Commit

Permalink
Ignore template project
Browse files Browse the repository at this point in the history
  • Loading branch information
dlg99 committed Mar 21, 2023
1 parent 4e225e5 commit 83d08e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ build_base_connectors() {
if [[ ! -d "$conn" ]]; then continue; fi
if [[ ! -f "${conn}/pom.xml" ]]; then continue; fi
if [[ "$conn" == *"camel-"* ]]; then echo "skipping $conn"; continue; fi
# /template is not in the build
if [[ "$conn" == *"/template" ]]; then echo "skipping $conn"; continue; fi
mvn -B clean package -f "$conn"
count=$(( count + 1 ))
done
Expand All @@ -36,4 +38,4 @@ build_camel_connectors() {
echo "Expected to build $camel_connectors_count connectors, instead built only $count"
exit 1
fi
}
}

0 comments on commit 83d08e5

Please sign in to comment.