Build command

The build command helps you run a CircleCI build on your local machine and takes a variety of options as shown in the following screenshot:

Let us run the go-template-example-with-circle-ci (https://github.com/packtci/go-template-example-with-circle-ci) GitHub repository that we created in Chapter 12, Installation and Basics of CircleCI, and then run the circleci build command on our local system.

Make sure that you go into the directory where your repository lives before you run the build command as it needs to read the config.yml file inside of the .circleci folder:

The build command will execute the steps in the config YML ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.