fuzzyworld

hawk / time-arrows / files / Makefile

Branch time-arrows · default branch · all branches

Makefile

Blame: the commit that last changed each line · file · history

187c6bc2 2023-10-13 Pavel Safronov1GIT_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