Take build version from config.lua
This commit is contained in:
parent
7df0478890
commit
57a69a6e0c
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION=0.1
|
VERSION=$(shell grep VERSION config.lua | sed -n -e "s/VERSION = 'v//" -e "s/'//p")
|
||||||
|
|
||||||
IGNORE_FLAGS=--ignore Makefile --ignore build
|
IGNORE_FLAGS=--ignore Makefile --ignore build
|
||||||
LOVE_PATH := $(shell command -v love)
|
LOVE_PATH := $(shell command -v love)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
require 'tablefuncs'
|
require 'tablefuncs'
|
||||||
|
|
||||||
|
VERSION = 'v0.2'
|
||||||
|
|
||||||
-- Global config table
|
-- Global config table
|
||||||
---@class Config
|
---@class Config
|
||||||
---@field pointRadius number Radius of each grid point, relative to cellSize
|
---@field pointRadius number Radius of each grid point, relative to cellSize
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue