Merge branch 'main' of ssh://watsonlabs.net:3122/watsonb8/crossnokaye-interview-assignment

This commit is contained in:
Brandon Watson
2023-08-12 19:34:02 -04:00
2 changed files with 15 additions and 1 deletions

2
.gitignore vendored
View File

@ -13,7 +13,7 @@
*.test
bin
**/cmd
**/gen
services/**/gen
api-cli
# Output of the go coverage tool, specifically when used with LiteIDE

14
scripts/gen Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
GIT_ROOT=$(git rev-parse --show-toplevel)
pushd ${GIT_ROOT}
echo "Generating Goa code..."
for svc in front character item inventory; do
goa gen crossnokaye-interview-assignment/services/${svc}/design -o services/${svc}
done
popd