iris/.github/scripts/setup_examples_test.bash
Gerasimos (Makis) Maropoulos 48f7b38d15
rename master branch to main
2023-08-20 03:12:46 +03:00

13 lines
329 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@main
go mod download
go run .
fi
done
# git update-index --chmod=+x ./.github/scripts/setup_examples_test.bash