Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6f65648

Browse filesBrowse files
committed
Merge pull request revel#858 from revel/feature/version-file
Adds first draft of a version file to Revel
2 parents 374e983 + 56c8908 commit 6f65648
Copy full SHA for 6f65648

File tree

3 files changed

+14
-0
lines changed
Filter options

3 files changed

+14
-0
lines changed

‎revel.go

Copy file name to clipboardExpand all lines: revel.go
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ func Init(mode, importPath, srcPath string) {
201201
loadModules()
202202

203203
Initialized = true
204+
INFO.Printf("Initialized Revel v%s (%s) for %s", VERSION, BUILD_DATE, MINIMUM_GO)
204205
}
205206

206207
// Create a logger using log.* directives in app.conf plus the current settings

‎version.go

Copy file name to clipboard
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package revel
2+
3+
const (
4+
// Current Revel version
5+
VERSION = "0.12.0dev"
6+
// Latest commit date
7+
BUILD_DATE = "2015-01-19"
8+
// Minimum required Go version
9+
MINIMUM_GO = ">= go1.3"
10+
)

‎version.yaml

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version: 0.12.0dev
2+
buildDate: 2015-01-23
3+
minimumGo: >= go1.3

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.