remove hardcode

This commit is contained in:
GenZmeY 2020-11-03 10:53:27 +03:00
parent b5518cac1c
commit 55591c23f6

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
NAME = range-gen NAME = $(shell basename $(shell readlink -e .))
VERSION = dev_$(shell date +%F_%T) VERSION = dev_$(shell date +%F_%T)
GOCMD = go GOCMD = go
LDFLAGS := "$(LDFLAGS) -X 'main.Version=$(VERSION)'" LDFLAGS := "$(LDFLAGS) -X 'main.Version=$(VERSION)'"