Make it so that you don't need to run xtask through cargo

This commit is contained in:
Olivier Goffart 2021-02-02 08:39:06 +01:00
parent 9b1fd52231
commit 54c979d9e6
5 changed files with 11 additions and 10 deletions

View file

@ -60,7 +60,7 @@ fn symlink_files_in_dir<S: AsRef<Path>, T: AsRef<Path>, TS: AsRef<Path>>(
}
pub fn generate() -> Result<(), Box<dyn std::error::Error>> {
let root = super::root_dir()?;
let root = super::root_dir();
let docs_source_dir = root.join("api/sixtyfps-cpp");
let docs_build_dir = root.join("target/cppdocs");