Checking in cmd files | first attempt at linking up item service
This commit is contained in:
17
build
Executable file
17
build
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||
GIT_COMMIT=$(git rev-list -1 HEAD)
|
||||
pushd ${GIT_ROOT}
|
||||
|
||||
echo "Rebuilding services..."
|
||||
|
||||
mkdir -p bin
|
||||
|
||||
for svc in front character item inventory; do
|
||||
go build -o bin/${svc} crossnokaye-interview-assignment/services/${svc}/cmd/${svc}
|
||||
done
|
||||
|
||||
popd
|
Reference in New Issue
Block a user