zrhoffman commented on code in PR #7180:
URL: https://github.com/apache/trafficcontrol/pull/7180#discussion_r1019422562
##########
dev/atc.dev.sh:
##########
@@ -15,10 +15,16 @@
# specific language governing permissions and limitations
# under the License.
-alias atc-start="docker-compose up -d --build";
alias atc-build="docker-compose build";
alias atc-stop="docker-compose kill && docker-compose down -v
--remove-orphans";
+function atc-start {
+ if [ ! -d "vendor/golang/x" ]; then
+ go mod vendor
+ fi
+ docker-compose up -d --build
Review Comment:
If `atc-build` is run before `docker-compose up`, `go mod vendor` can be run
in a container so the user doesn't need `go` (or the latest `go` version)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]