UNPKG

neon-cli

Version:

Build and load native Rust/Neon modules.

13 lines (11 loc) 303 B
import Project from "../project"; import * as rust from "../rust"; export default async function neon_build( root: string, toolchain: rust.Toolchain = "default", release: boolean, args: string[] ) { let project = await Project.create(root); await project.build(toolchain, release, args); }