Browse Source

Use git hash in VERSION.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
540e82dfdd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -1,5 +1,5 @@
RACK_DIR ?= . RACK_DIR ?= .
VERSION = 1.dev
VERSION = 1.dev.$(shell git rev-parse --short HEAD)


FLAGS += -DAPP_VERSION=$(VERSION) FLAGS += -DAPP_VERSION=$(VERSION)
FLAGS += -Iinclude FLAGS += -Iinclude


Loading…
Cancel
Save