Skip to content

Commit efe5a0a

Browse files
z0w0graydon
authored andcommitted
rustpkg: Use pkg.rs instead of package.rs for consistency
1 parent b10dc1a commit efe5a0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustpkg/rustpkg.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ struct PackageScript {
5555

5656
impl PackageScript {
5757
static fn parse(parent: &Path) -> Result<PackageScript, ~str> {
58-
let script = parent.push(~"package.rs");
58+
let script = parent.push(~"pkg.rs");
5959

6060
if !os::path_exists(&script) {
61-
return result::Err(~"no package.rs file");
61+
return result::Err(~"no pkg.rs file");
6262
}
6363

6464
let binary = os::args()[0];

0 commit comments

Comments
 (0)