Merge pull request #9 from yoshuawuyts/document-api

document write_package_json
master
ashley williams 7 years ago committed by GitHub
commit 8f5bc14b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/lib.rs

@ -67,6 +67,7 @@ fn create_pkg_dir() -> Result<(), Error> {
Ok(())
}
/// Generate a package.json file inside in `./pkg`.
pub fn write_package_json() -> Result<(), Error> {
create_pkg_dir()?;
let mut pkg_file = File::create("./pkg/package.json")?;

Loading…
Cancel
Save