iris/.github/scripts/setup_examples_test.bash
2022-05-08 13:21:17 +03:00

13 lines
331 B
Bash
Executable File

#!/usr/bin/env bash
for f in ../../_examples/*; do
if [ -d "$f" ]; then
# Will not run if no directories are available
go mod init
go get -u github.com/kataras/iris/v12@master
go mod download
go run .
fi
done
# git update-index --chmod=+x ./.github/scripts/setup_examples_test.bash