Make roc_docs responsible for build dir constant

This commit is contained in:
Richard Feldman 2022-05-08 21:37:11 -04:00
parent 437f7dcf8b
commit b7c7bbaf1d
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
3 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@ use roc_mono::ir::OptLevel;
use std::env;
use std::ffi::OsStr;
use std::io;
use std::path::{Path, PathBuf};
use std::path::Path;
use std::process;
use target_lexicon::BinaryFormat;
use target_lexicon::{
@ -239,10 +239,6 @@ pub fn build_app<'a>() -> Command<'a> {
}
}
pub fn docs(files: Vec<PathBuf>) {
roc_docs::generate_docs_html(files, Path::new("./generated-docs"))
}
#[derive(Debug, PartialEq, Eq)]
pub enum BuildConfig {
BuildOnly,