Add .template extension to package-generator template files

Acutally Closes #359
This commit is contained in:
Corey Johnson
2013-03-08 09:28:07 -08:00
parent 709d9738ef
commit 5cd3dfce8e
7 changed files with 1 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ class PackageGeneratorView extends View
for path in fs.listTree(templatePath)
relativePath = path.replace(templatePath, "")
relativePath = relativePath.replace(/^\//, '')
relativePath = relativePath.replace(/\.template$/, '')
relativePath = @replacePackageNamePlaceholders(relativePath, packageName)
sourcePath = fs.join(@getPackagePath(), relativePath)