fix CLI version command

This commit is contained in:
Daniel Kang 2019-01-30 01:31:41 -08:00
parent b19d9de0bf
commit 806ddeba3d
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@ builds:
- darwin - darwin
- linux - linux
- windows - windows
archive:
files:
- none*
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
changelog: changelog:

View file

@ -22,13 +22,13 @@ import (
const ( const (
sourceFileExt = ".tengo" sourceFileExt = ".tengo"
replPrompt = ">> " replPrompt = ">> "
version = "dev"
) )
var ( var (
compileOutput string compileOutput string
showHelp bool showHelp bool
showVersion bool showVersion bool
version = "dev"
) )
func init() { func init() {