Skip to content

Commit c30c73a

Browse files
committed
refactor(build): Update Makefile and README for versioning and build process
- Changed versioning format in Makefile to v0.1.0-beta and updated build flags to include short commit hash. - Enhanced README with updated features, prerequisites, and installation instructions. - Improved command descriptions and added configuration details for the sequencer. - Corrected spelling in command descriptions and ensured consistency in terminology.
1 parent a7e3a7c commit c30c73a

File tree

5 files changed

+185
-172
lines changed

5 files changed

+185
-172
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ BINARY_UNIX=$(BINARY_NAME)
99

1010
# Build parameters
1111
BUILD_DIR=build
12-
VERSION?=0.1.0
13-
BUILD_TIME=$(shell date +%FT%T%z)
14-
GIT_COMMIT=$(shell git rev-parse HEAD)
15-
LDFLAGS=-ldflags "-X main.Version=$(VERSION) -X main.BuildTime=$(BUILD_TIME) -X main.GitCommit=$(GIT_COMMIT)"
12+
VERSION := v0.1.0-beta
13+
COMMIT := $(shell git rev-parse --short HEAD)
14+
BUILD_TIME := $(shell date -u '+%Y-%m-%d_%H:%M:%S')
15+
LDFLAGS := -ldflags "-X main.Version=$(VERSION) -X main.Commit=$(COMMIT) -X main.BuildTime=$(BUILD_TIME)"
1616

1717
# Colors for output
1818
RED=\033[0;31m
1919
GREEN=\033[0;32m
2020
BLUE=\033[0;34m
2121
NC=\033[0m
2222

23-
.PHONY: all build clean test lint run help release docs coverage benchmark proto generate
23+
.PHONY: all build clean test lint release
2424

2525
all: clean build
2626

0 commit comments

Comments
 (0)