-
If you have not done so yet, fetch the source code and change to the directory containing the code:
git clone https://github.com/entropia/tip-toi-reveng.git tttool cd tttool
-
Install the
nix
tool, if you do not have it yet:bash <(curl -L https://nixos.org/nix/install)
-
Install the Cachix tool, and enable the tttool cache.
nix-env -iA cachix -f https://cachix.org/api/v1/install cachix use tttool
(This step is optional, but will save a lot of time.)
-
Build
tttool
:nix-build -A linux-exe
-
Copy the resulting program to the current directory:
cp result/bin/tttool .
-
At this point,
tttool
should be ready to go. If you run./tttool
you should see the list of commands shown above.
If you have any problems, you can report an issue via GitHub.
-
Ensure that the version number is up-to-date in:
Changelog.md
,tttool.cabal
,book/conf.py
-
Run
nix-build --arg checkMaterialization
and update hashes indefaul.nix
until it no longer complains. -
Push to CI so that the OSX binaries are built and uploaded to the Cachix cache.
-
Run
nix-build -A release-zip
-
Upload
result/tttool-n.m.zip
.