Update version variable names in Makefile (#248)

close #247
This commit is contained in:
Mike Arpaia 2016-09-28 03:23:06 -07:00 committed by GitHub
parent 1409c294af
commit a97e5d7874

View File

@ -71,12 +71,12 @@ endif
build: .prefix build: .prefix
go build -i -o ${OUTPUT} -ldflags "\ go build -i -o ${OUTPUT} -ldflags "\
-X github.com/kolide/kolide-ose/version.version=${VERSION} \ -X github.com/kolide/kolide-ose/server/version.version=${VERSION} \
-X github.com/kolide/kolide-ose/version.branch=${BRANCH} \ -X github.com/kolide/kolide-ose/server/version.branch=${BRANCH} \
-X github.com/kolide/kolide-ose/version.revision=${REVISION} \ -X github.com/kolide/kolide-ose/server/version.revision=${REVISION} \
-X github.com/kolide/kolide-ose/version.buildDate=${NOW} \ -X github.com/kolide/kolide-ose/server/version.buildDate=${NOW} \
-X github.com/kolide/kolide-ose/version.buildUser=${USER} \ -X github.com/kolide/kolide-ose/server/version.buildUser=${USER} \
-X github.com/kolide/kolide-ose/version.goVersion=${GOVERSION}" -X github.com/kolide/kolide-ose/server/version.goVersion=${GOVERSION}"
lint-js: lint-js:
eslint frontend --ext .js,.jsx eslint frontend --ext .js,.jsx