Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 959 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 959 Bytes

TokenHawk CLI

CLI interface to TokenHawk. Requires.

Build Instructions (Linux/macOS)

Ensure you're recursively cloned the repository and all it's submodules.

Preparing Dawn

$ 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

Building TokenHawk

When in the <token-hawk-directory>/cli directory:

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j8

Build Instructions for Windows

Install Visual Studio 2022, and you can build TokenHawk on Windows with the same instructions as with Linux / macOS.