Skip to main content

pack

Function pack 

Source
pub fn pack(dir_path: &str, output: Option<&str>) -> Result<PathBuf, ZigError>
Expand description

Pack a workflow directory into a .zwfz zip archive.

The directory must contain exactly one workflow TOML file (.toml or .zwf with a [workflow] section). All files in the directory are included in the archive, preserving directory structure. The resulting zip file can be used directly with zig run and zig validate.