Skip to content

Instantly share code, notes, and snippets.

@thanakijwanavit
Created March 23, 2021 16:25
Show Gist options
  • Save thanakijwanavit/fd8a08c282dcf366a3cbbf086e47b830 to your computer and use it in GitHub Desktop.
Save thanakijwanavit/fd8a08c282dcf366a3cbbf086e47b830 to your computer and use it in GitHub Desktop.
build all layers in the repo
# list all folders
layerList=$(find -name 'layer')
curDir=$(pwd)
echo executing $layerList
echo curdir is $curDir
# loop though each path
for path in $layerList
do
echo $path
## go to path
cd $path
bash lambdaLayer.sh
## go back to original dir
cd $curDir
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment