pub fn archive(dir: &Path, stem: &Path) -> (BuildStep, PathBuf)Expand description
A step that archives dir, with dir itself as the top folder, into
stem plus the extension the build machine’s own tools make: .zip
on macOS (ditto) and Windows (tar), .tar.gz on Linux (tar).