mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-23 15:31:26 +00:00
Enhanced package and build to by default not include any source code
This commit is contained in:
@@ -45,10 +45,9 @@ func versionApp(c *model.CommandConfig) {
|
||||
utils.Logger.Errorf("Failed to find Revel with error:", "error", err)
|
||||
}
|
||||
|
||||
|
||||
utils.Logger.Info("Fullpath to revel", revelPkg.Dir)
|
||||
fset := token.NewFileSet() // positions are relative to fset
|
||||
|
||||
|
||||
version, err := ioutil.ReadFile(filepath.Join(revelPkg.Dir,"version.go"))
|
||||
if err != nil {
|
||||
utils.Logger.Errorf("Failed to find Revel version:", "error", err)
|
||||
|
||||
Reference in New Issue
Block a user