-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite CLI to drop Boost dependency (#73)
* Rewrite CLI to drop Boost dependency * Move `expected` into `vendor` subdirectory * Use `tl::expected` for option parsing; fix typos, round-tripping issues * Update README for new CLI * Add `vendor` folder to include paths for static analysis tools * Add vendor dir and update CI * Improve README to show user-defined label usage * Update bindings build script to include `vendor` * Fix byte output formatting for CLI Because the output stream was set to `std::left` and not reset back to the default `std::right`, instruction bytes smaller then `0x10` would be formatted wrong. * Add `--bytes-only` flag and basic CLI sanity test --------- Co-authored-by: Jon Palmisciano <[email protected]>
- Loading branch information
1 parent
217a3a6
commit ec1f398
Showing
17 changed files
with
777 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#include "nyxstone_ffi.hpp" | ||
|
||
#include "tl/expected.hpp" | ||
#include <expected.hpp> | ||
|
||
using namespace nyxstone; | ||
|
||
|
Oops, something went wrong.