~bigbes/lethe

ref: 4ca03bead630f9c1027dfbee5b6b8c75314f9498 lethe/Justfile -rw-r--r-- 535 bytes
4ca03bea — Eugene Blikh feat: bootstrap lethe server skeleton + wire contract a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
binary := "lethe"
version := `git describe --tags 2>/dev/null || echo dev`

default:
    @just --list

build:
    CGO_ENABLED=0 go build -ldflags "-X main.version={{version}}" -o {{binary}} ./cmd/lethe

run:
    go run ./cmd/lethe -config config.yaml

air:
    air

test:
    go test -race ./...

lint:
    golangci-lint run --fix ./...

fmt:
    gofmt -w .
    goimports -w .

tidy:
    go mod tidy

docker-build:
    docker build -t {{binary}}:{{version}} .

docker-up:
    docker compose up -d

docker-down:
    docker compose down