1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-28 12:57:13 +00:00

common: Allow running Python scripts for all points in flow

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2018-10-17 10:51:23 +01:00
parent 529a595157
commit 7c9ab173da
2 changed files with 41 additions and 15 deletions

View File

@@ -53,6 +53,7 @@ class CommandHandler
void setupContext(Context *ctx);
int executeMain(std::unique_ptr<Context> ctx);
po::options_description getGeneralOptions();
void run_script_hook(const std::string &name);
protected:
po::variables_map vm;