fuzzyworld

hawk / files / Makefile

Makefile

223 B · history · blame

1GIT_COMMIT := $(shell git rev-parse --short HEAD)
2BUILD_TIME := $(shell date -u '+%Y-%m-%d %H:%M:%S')
3
4all: build
5
6build:
7 echo "var hawkInfo = {version: '${GIT_COMMIT}', updated: '${BUILD_TIME}'};" > public/gen/version.js