Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

scripts

This folder contains build and utility scripts.

build.sh

This script builds the binaries for the repository, if any are produced.

To build all platforms, use the following:

./scripts/build.sh

To build specific platform (e.g., linux and darwin), use the following:

./scripts/build.sh linux darwin

bumpdep.sh

This script bumps dependencies.

If you have a clean local source, you can create a dependency branch and push to origin using the following:

./scripts/bumpdep.sh

To bump dependencies in your local, without creating a separate git branch, use the following:

./scripts/bumpdep.sh --local

generate.sh

This script generates code and is used by generate.go.

To generate everything, use the following:

./scripts/generate.sh

To run a specific generator (e.g., mocks), use the following:

./scripts/generate.sh mocks

To specify multiple generators (e.g., gateway and proto), use the following:

./scripts/generate.sh gateway proto