Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.18 KB

go-corset

Overview

A (partial) port of the Corset tool into Go.

Development Setup

Step 0. Install pre-commit:

pip install pre-commit

# For macOS users.
brew install pre-commit

Then run pre-commit install to setup git hook scripts. Used hooks can be found here.


NOTE

pre-commit aids in running checks (end of file fixing, markdown linting, go linting, runs go tests, json validation, etc.) before you perform your git commits.


Step 1. Install external tooling (golangci-lint etc.):

make install

Step 2. Setup project for local testing (code lint, runs tests, builds all needed binaries):

make all

NOTE

All binaries can be found in <project_root>/bin directory. Use make clean to delete old binaries.

Check Makefile for other useful commands.