feat: publish Dever core with project scaffolding and versioned AI skills
This commit is contained in:
1 parent
70fa73cdc2
commit
ac458ffa7f
960 files changed
+221319
-1163
No files matched your search
@@ -0,0 +1,27 @@
|
||||
//! Private release-author entry point; never distributed as a user command.
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
fn main() {
|
||||
if let Err(error) = run() {
|
||||
eprintln!("native-release: {error}");
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
fn run() -> Result<(), String> {
|
||||
let arguments: Vec<_> = std::env::args_os().skip(1).collect();
|
||||
let [author_root, flag, output] = arguments.as_slice() else {
|
||||
return Err("usage: native-release <author-root> --output <new-dir>".into());
|
||||
};
|
||||
if flag != "--output" {
|
||||
return Err("usage: native-release <author-root> --output <new-dir>".into());
|
||||
}
|
||||
let manifest =
|
||||
dever_cli::toolchain::packaging::create(Path::new(author_root), Path::new(output))?;
|
||||
println!(
|
||||
"created Dever {} for {}",
|
||||
manifest.version, manifest.platform
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user