hackaroo for packaging

This commit is contained in:
verdverm
2014-02-25 23:23:47 -05:00
parent 860cff41ac
commit af269f69a2

View File

@@ -100,13 +100,13 @@ func buildApp(args []string) {
mustRenderTemplate(
runShPath,
path.Join(revel.RevelPath, "revel", "package_run.sh.template"),
path.Join(revel.RevelPath, "../cmd/revel", "package_run.sh.template"),
tmplData)
mustChmod(runShPath, 0755)
mustRenderTemplate(
path.Join(destPath, "run.bat"),
path.Join(revel.RevelPath, "revel", "package_run.bat.template"),
path.Join(revel.RevelPath, "../cmd/revel", "package_run.bat.template"),
tmplData)
}