In order to test and develop in this repo you will need the following dependencies installed:
- docker
- make
- git-lfs
After cloning you will need to do the following:
- run
git lfs install && git lfs pullto grab the latest test assets in LFS - run
make bootstrapto download go mod dependencies, create the/.tmpdir, and download helper utilities. - run
maketo run linting, tests, and other verifications to make certain everything is working alright.
The main make tasks for common static analysis and testing are:
static-analysis: runs the linter and license checkslint-fix: let the linter auto-fix as many issues as it canunit: plain-ol'e unit testscli: run trait assertions against snapshot builds
Checkout make help to see what other actions you can take.
To create a snapshot and install into the local ~/.docker/cli-plugins directory:
make clean-snapshot snapshot install-snapshot