CLI interface to TokenHawk. Requires.
Ensure you're recursively cloned the repository and all it's submodules.
$ cd <token-hawk-directory>
$ git submodule update --init --recursive
In order to build Dawn, you'll need Google's depot_tools
. Here's some instructions to get you started:
$ cd /tmp
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ export PATH=/tmp/depot_tools:$PATH
$ cd <token-hawk-directory>
$ cd cli/dawn
$ cp scripts/standalone.gclient .gclient
$ gclient sync
$ gn gen out/Release
$ autoninja -C out/Release
When in the <token-hawk-directory>/cli
directory:
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j8
Install Visual Studio 2022, and you can build TokenHawk on Windows with the same instructions as with Linux / macOS.