Add a (not yet functional) standalone exporter

This commit is contained in:
Robbert van der Helm
2022-04-22 17:00:59 +02:00
parent bee82bdefb
commit f3db4a9ed0
9 changed files with 70 additions and 4 deletions

View File

@@ -175,6 +175,8 @@ pub fn bundle(package: &str, args: &[String]) -> Result<()> {
}
}
// TODO: Add support for binary targets. This would simply copy/reflink the binary to the
// `bundled` directory to make it easier to ship all versions of a plugin.
let compilation_target = compilation_target(cross_compile_target.as_deref())?;
let lib_path = target_base(cross_compile_target.as_deref())?
.join(if is_release_build { "release" } else { "debug" })