mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00

This command will assemble the current package into a tarball ready for uploading to the cargo registry. Currently no further verification is done beyond packaging the local repository into a tarball, but in the future this could execute other operations such as api stability tools.
41 lines
787 B
Rust
41 lines
787 B
Rust
#![feature(macro_rules)]
|
|
#![feature(phase)]
|
|
|
|
extern crate term;
|
|
extern crate cargo;
|
|
extern crate hamcrest;
|
|
extern crate url;
|
|
|
|
#[phase(plugin, link)]
|
|
extern crate log;
|
|
|
|
mod support;
|
|
macro_rules! test(
|
|
($name:ident $expr:expr) => (
|
|
#[test]
|
|
fn $name() {
|
|
::support::paths::setup();
|
|
setup();
|
|
$expr;
|
|
}
|
|
)
|
|
)
|
|
|
|
mod test_cargo;
|
|
mod test_cargo_bench;
|
|
mod test_cargo_clean;
|
|
mod test_cargo_compile;
|
|
mod test_cargo_compile_git_deps;
|
|
mod test_cargo_compile_path_deps;
|
|
mod test_cargo_test;
|
|
mod test_shell;
|
|
mod test_cargo_cross_compile;
|
|
mod test_cargo_run;
|
|
mod test_cargo_version;
|
|
mod test_cargo_new;
|
|
mod test_cargo_compile_plugins;
|
|
mod test_cargo_doc;
|
|
mod test_cargo_freshness;
|
|
mod test_cargo_generate_lockfile;
|
|
mod test_cargo_package;
|