To get involved with this project, create a fork and follow along.
-
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
Install and use asdf plugins to manage go, python, and ruby for this project:
source .asdf
Alternatively, you can pick and choose which plugins to install:
# Employ asdf for this project's python: source .asdf python
-
python3 -m pip install --upgrade pip python3 -m pip install pre-commit
-
go install github.com/magefile/mage@latest
-
Install dependencies:
mage installDeps
-
Update and run pre-commit hooks locally:
mage runPreCommit
-
Compile ttpforge:
go build -o ttpforge
If you want to hold off on pre-commit until your code is at a certain point, you can disable it locally:
pre-commit uninstall
Once you want to get feedback from pre-commit, reinstall it with:
pre-commit install