Skip to content

Commit ed39d47

Browse files
committed
automate the discovery of examples
1 parent cffbfad commit ed39d47

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

scripts/integration_tests.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
##
1414
##===----------------------------------------------------------------------===##
1515

16-
set +ex
16+
set +x -e
1717

18-
LAMBDA_USE_LOCAL_DEPS=true swift build --package-path Examples/APIGateway
19-
LAMBDA_USE_LOCAL_DEPS=true swift build --package-path Examples/AWSSDK
20-
LAMBDA_USE_LOCAL_DEPS=true swift build --package-path Examples/HelloWorld
21-
LAMBDA_USE_LOCAL_DEPS=true swift build --package-path Examples/Soto
18+
for EXAMPLE in $(find Examples -type d -d 1);
19+
do
20+
echo "Building $EXAMPLE"
21+
pushd $EXAMPLE
22+
LAMBDA_USE_LOCAL_DEPS=../.. swift build
23+
popd
24+
done

0 commit comments

Comments
 (0)