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