summaryrefslogtreecommitdiffstats
path: root/sq/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sq/build.rs')
-rw-r--r--sq/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/sq/build.rs b/sq/build.rs
index 07de15e0..c1ce2954 100644
--- a/sq/build.rs
+++ b/sq/build.rs
@@ -1,6 +1,7 @@
use std::env;
use std::fs;
use std::io::{self, Write};
+use std::path::Path;
use clap::Shell;
mod sq_cli {
@@ -13,6 +14,9 @@ fn main() {
// XXX: Revisit once
// https://github.com/rust-lang/rust/issues/44732 is stabilized.
+ subplot_build::codegen(Path::new("sq-subplot.md"))
+ .expect("failed to generate code with Subplot");
+
let mut sq = sq_cli::configure(
clap::App::new("sq").set_term_width(80),
cfg!(feature = "net"),