diff --git a/Makefile b/Makefile index 4ba0657..da587f7 100644 --- a/Makefile +++ b/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 LOVE_PATH := $(shell command -v love) diff --git a/config.lua b/config.lua index 7ea90d2..c2c79e7 100644 --- a/config.lua +++ b/config.lua @@ -1,5 +1,7 @@ require 'tablefuncs' +VERSION = 'v0.2' + -- Global config table ---@class Config ---@field pointRadius number Radius of each grid point, relative to cellSize