fuzzyworld

hawk / time-arrows / files / Makefile

Branch time-arrows · default branch · all branches

Makefile

219 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/version.js