]> git.lizzy.rs Git - rust.git/commit
auto merge of #5847 : catamorphism/rust/rustpkg, r=catamorphism
authorbors <bors@rust-lang.org>
Fri, 12 Apr 2013 19:57:58 +0000 (12:57 -0700)
committerbors <bors@rust-lang.org>
Fri, 12 Apr 2013 19:57:58 +0000 (12:57 -0700)
commit5bb2e8f62c5666f61db0b670f80f64ca673d22d6
tree79272465bc9cedcf90dd0ce396cd2f14e7b81ec7
parent2cb69748563f7b9ab94160943eea6ec787b27a4d
parent74fee15bc1b6c3c558bab72a644b2600c91d0d2d
auto merge of #5847 : catamorphism/rust/rustpkg, r=catamorphism

r? @graydon This is preliminary work on bringing rustpkg up to conformance with #5679
and related issues.

This change makes rustpkg infer a package ID from its containing directory,
instead of requiring name and vers attributes in the code. Many aspects of it
are incomplete; I've only tested one package (see README.txt) and one command,
"build". So far it only works for local packages.

I also removed code for several of the package commands other than "build",
replacing them with stubs that fail, since they used package IDs in ways that
didn't jibe well with the new scheme. I will re-implement the commands one
at a time.
src/librustpkg/rustpkg.rc
src/librustpkg/util.rs