Commit 97fbcf4a authored by Jeremy Soller's avatar Jeremy Soller

0.2.3 - Add more commands

parent 9c782704
This diff is collapsed.
[package]
name = "redoxer"
version = "0.2.2"
version = "0.2.3"
description = "Method for quickly running programs inside of Redox from a KVM capable OS."
license = "MIT"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
......
......@@ -45,20 +45,30 @@ fn status_error(status: process::ExitStatus) -> io::Result<()> {
}
fn usage() {
eprintln!("redoxer build - build with cargo");
eprintln!("redoxer exec - execute a command");
eprintln!("redoxer bench - cargo bench with Redox target in Redox VM");
eprintln!("redoxer build - cargo build with Redox target");
eprintln!("redoxer check - cargo check with Redox target");
eprintln!("redoxer doc - cargo doc with Redox target");
eprintln!("redoxer exec - execute a command in Redox VM");
eprintln!("redoxer install - install toolchain");
eprintln!("redoxer run - cargo run with Redox target in Redox VM");
eprintln!("redoxer rustc - cargo rustc with Redox target");
eprintln!("redoxer test - cargo test with Redox target in Redox VM");
process::exit(1);
}
fn main() {
match env::args().nth(1) {
Some(arg) => match arg.as_str() {
"build" => cargo::main(),
"bench" |
"build" |
"check" |
"doc" |
"run" |
"rustc" |
"test" => cargo::main(),
"exec" => exec::main(),
"install" => install::main(),
"run" => cargo::main(),
"test" => cargo::main(),
_ => usage(),
},
None => usage(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment