-
Notifications
You must be signed in to change notification settings - Fork 251
Expand file tree
/
Copy pathjustfile
More file actions
24 lines (19 loc) · 785 Bytes
/
justfile
File metadata and controls
24 lines (19 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ev-node justfile
# Extract version information from git
version := `git describe --tags --abbrev=0 2>/dev/null || echo "dev"`
gitsha := `git rev-parse --short HEAD 2>/dev/null || echo "unknown"`
ldflags := "-X github.com/evstack/ev-node/pkg/cmd.Version=" + version + " -X github.com/evstack/ev-node/pkg/cmd.GitSHA=" + gitsha
# Tool build ldflags (uses main package)
tool_ldflags := "-X main.Version=" + version + " -X main.GitSHA=" + gitsha
# Build directory
build_dir := justfile_directory() / "build"
import '.just/build.just'
import '.just/test.just'
import '.just/proto.just'
import '.just/lint.just'
import '.just/codegen.just'
import '.just/run.just'
import '.just/tools.just'
# List available recipes when running `just` with no args
default:
@just --list --unsorted