fn main() {
// Build WASM
if let Some((_, wasm_path)) = sails_rs::build_wasm() {
// Generate IDL and embed it into WASM
sails_rs::ClientBuilder::<::{{ app_crate_name }}::{{ program_struct_name }}>::from_wasm_path(wasm_path).build_idl();
}
}
{{- "\n" -}}