Consist of all the backend services
Why are we using Bazel's build system and not "make"?
- depedencies are tracked much better
- build every application separately
- build dependencies / tools in other languages than Go Source
- Install Bazel - https://docs.bazel.build/versions/master/install.html
- Install Go Modules
go mod download
bazel run //:gazelle -- update-repos -from_file=go.mod
All applications inside apps folder:
- my Memories App
- video capture app
Build:
bazel build services/my_memories/main
Run:
bazel run services/my_memories/main
Bin will be here:
bazel-bin/services/my_memories/darwin_amd64_stripped/main
Test:
bazel test services/my_memories/...:all
Build:
bazel build services/video_capture/main
Run:
bazel run services/video_capture/main
Bin will be here:
bazel-bin/services/video_capture/darwin_amd64_stripped/main
Test:
bazel test services/video_capture/...:all
Test:
bazel test //services/...:all