]> git.lizzy.rs Git - rust.git/commit
auto merge of #5014 : Kimundi/rust/incoming, r=graydon
authorbors <bors@rust-lang.org>
Tue, 19 Feb 2013 14:18:42 +0000 (06:18 -0800)
committerbors <bors@rust-lang.org>
Tue, 19 Feb 2013 14:18:42 +0000 (06:18 -0800)
commita8efa2133392cc846d4ea3cae14f0eb4eccb5f1e
treea369332e05c39c4e6df45c778eac017f0e0d7102
parent67ee95e943163d8d3dad439bfb0ce94e3e9c9aa4
parent702a6f7a189a3b7921c622b0ea2e0aa5111c94c8
auto merge of #5014 : Kimundi/rust/incoming, r=graydon

This implements a rust tool similar to go's go tool. It acts as a central hub for the tools rustc, rustdoc, rustpkg, rusti, and also provides shortcuts for directly compiling and running a source file either as a normal or a test executable. Default usage message:

```
The rust tool is a convenience for managing rust source code.
It acts as a shortcut for programs of the rust tool chain.

Usage: rust <command> [arguments]

The commands are:

    build   compile rust source files
    run     build a executable, and run it
    test    build a test executable, and run it
    doc     generate documentation from doc comments
    pkg     download, build, install rust packages
    sketch  run a rust interpreter
    help    show detailed usage of a command

Use "rust help <command>" for more information about a command.
```