about summary refs log tree commit diff
path: root/src/librustpkg/usage.rs
AgeCommit message (Collapse)AuthorLines
2014-02-02Remove rustpkg.Corey Richardson-181/+0
I'm sorry :'( Closes #11859
2014-01-11auto merge of #11470 : eminence/rust/rustpkg_help_test, r=alexcrichtonbors-0/+4
In general, you can run "rustpkg help <cmd>" to see some specific usage information for <cmd>. However, this was handled in a very ad-hoc and buggy manner. For example, running "rustpkg help prefer" would actually show you the usage information for the "uninstall" cmd. Or "rustpkg help test" would show you the usage information for the "build" command. Or "rustpkg help list" would just run the "list" command (and not show you anything usage information) This commit attempts to fix this by making a new HelpCmd (and handling it explicitly)
2014-01-11Fix `rustpkg help` handlingAndrew Chin-0/+4
In general, you could run "rustpkg help <cmd>" to see some specific usage information for <cmd>. However, this was handled in a very ad-hoc and buggy manner. For example, running "rustpkg help prefer" would actually show you the usage information for the "uninstall" cmd. This commit attempts to fix this by making Help a real Command, and making the handing of it explicit.
2014-01-11Remove re-exports of std::io::stdio::{print, println} in the prelude.Brendan Zabarauskas-14/+14
The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
2014-01-05Command is now an enumNiels langager Ellegaard-0/+21
2013-10-24Remove even more of std::ioAlex Crichton-14/+12
Big fish fried here: extra::json most of the compiler extra::io_util removed extra::fileinput removed Fish left to fry extra::ebml
2013-10-05docs / rustpkg: Document `rustpkg test` moreTim Chevalier-3/+3
Talk about `rustpkg test` in the tutorial, and update its usage message.
2013-09-19Fix usage for rustpkg initSteve Klabnik-2/+3
When I took out the ability to make a new project by name, I forgot to update the usage to reflect the changes.
2013-09-17Implementing 'rustpkg init'.Steve Klabnik-0/+7
This will initialize a new workspace.
2013-09-10rustpkg: Pass command-line arguments to rustcTim Chevalier-4/+29
rustpkg now accepts most of rustc's command-line arguments and passes them along to rustc when building or installing. A few rarely-used arguments aren't implemented yet. rustpkg doesn't support flags that don't make sense with rustpkg (for example, --bin and --lib, which get inferred from crate file names). Closes #8522
2013-07-24rustpkg: Clean up usage messages for installTim Chevalier-10/+7
2013-07-18rustpkg: Make rustpkg commands work without a package IDTim Chevalier-3/+4
`rustpkg build`, if executed in a package source directory inside a workspace, will now build that package. By "inside a workspace" I mean that the parent directory has to be called `src`, and rustpkg will create a `build` directory in .. if there isn't already one. Same goes for `rustpkg install` and `rustpkg clean`. For the time being, `rustpkg build` (etc.) will still error out if you run it inside a directory whose parent isn't called `src`. I'm not sure whether or not it's desirable to have it do something in a non-workspace directory.
2013-07-13rustpkg: Implement `uninstall` and `list` commandsTim Chevalier-1/+7
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-1/+1
2013-05-21Remove unnecessary allocations flagged by lint from rustpkgSeo Sanghyeon-10/+10
2013-02-15rustpkg: Add info command for probing a pkg.rs and expose work_dir/src_dir ↵Zack Corr-1/+10
in librustpkg
2013-02-15rustpkg: Clean up formatting issuesZack Corr-5/+5
2013-02-15rustpkg: Add do command and get cmd listeners working correctlyZack Corr-0/+7
2013-02-15rustpkg: Add preliminary imperative API supportZack Corr-0/+10
2013-02-15rustpkg: Finish all commands and declarative logicZack Corr-17/+12
2013-02-15rustpkg: Finish declarative compiling and fetching via git or curl (no ↵Zack Corr-1/+1
workcache or dependency resolution yet)
2013-02-15rustpkg: More preliminary workZack Corr-0/+100