mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
rustpkg: Use pkg.rs instead of package.rs for consistency
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user