1.3 KiB
Building from source
-
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
nixtool, 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,
tttoolshould be ready to go. If you run./tttoolyou should see the list of commands shown above.
If you have any problems, you can report an issue via GitHub.
Making a release
-
Ensure that the version number is up-to-date in:
Changelog.md,tttool.cabal,book/conf.py -
Run
nix-build --arg checkMaterializationand update hashes indefaul.nixuntil 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.