iris/.github/scripts/setup_examples_test.bash

12 lines
278 B
Bash
Raw Normal View History

2021-02-19 07:49:15 +01:00
#!/usr/bin/env bash
2021-02-19 07:54:32 +01:00
for f in ../../_examples/*; do
2021-02-19 07:49:15 +01:00
if [ -d "$f" ]; then
# Will not run if no directories are available
go mod init
go mod download
go run .
fi
done
# git update-index --chmod=+x ./.github/scripts/setup_examples_test.bash