rustpkg: Use pkg.rs instead of package.rs for consistency

This commit is contained in:
Zack Corr 2013-01-26 12:08:31 +10:00 committed by Graydon Hoare
parent b10dc1af06
commit efe5a0a61c

View file

@ -55,10 +55,10 @@ struct PackageScript {
impl PackageScript {
static fn parse(parent: &Path) -> Result<PackageScript, ~str> {
let script = parent.push(~"package.rs");
let script = parent.push(~"pkg.rs");
if !os::path_exists(&script) {
return result::Err(~"no package.rs file");
return result::Err(~"no pkg.rs file");
}
let binary = os::args()[0];