rustpkg: Use pkg.rs instead of package.rs for consistency
This commit is contained in:
parent
b10dc1af06
commit
efe5a0a61c
1 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue