rust/src/librustpkg
Tim Chevalier 8158dd7e9a rustpkg: Use pkg IDs, remove old code for now that required packages to declare IDs explicitly
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.
2013-04-11 18:08:42 -07:00
..
README.txt rustpkg: Use pkg IDs, remove old code for now that required packages to declare IDs explicitly 2013-04-11 18:08:42 -07:00
rustpkg.rc rustpkg: Use pkg IDs, remove old code for now that required packages to declare IDs explicitly 2013-04-11 18:08:42 -07:00
usage.rs rustpkg: Add info command for probing a pkg.rs and expose work_dir/src_dir in librustpkg 2013-02-15 18:04:11 -08:00
util.rs rustpkg: Use pkg IDs, remove old code for now that required packages to declare IDs explicitly 2013-04-11 18:08:42 -07:00

Right now (2013-04-11), only one package works, the branch of rust-sdl at:
https://github.com/catamorphism/rust-sdl/tree/new-rustpkg

and only one command works, "build".