-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
46 lines (32 loc) · 1012 Bytes
/
Justfile
File metadata and controls
46 lines (32 loc) · 1012 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
set dotenv-load
default:
@just --list
pre-commit: tidy generate lint
pc: pre-commit completions
lint:
golangci-lint run --fix --timeout 5m
tidy:
go mod tidy
generate: generate-deploy-server-client generate-membership-client
@go generate ./...
g: generate
[group('generate')]
generate-deploy-server-client:
@cd internal/deployserverclient && speakeasy run --skip-versioning --frozen-workflow-lockfile
generate-membership-client:
@cd internal/membershipclient && speakeasy run --skip-versioning --frozen-workflow-lockfile
install:
go install -v .
tests:
go test ./...
release-local:
@goreleaser release --nightly --skip=publish --clean
release-ci:
@goreleaser release --nightly --clean
release:
@goreleaser release --clean
completions: generate
mkdir -p ./completions
go run main.go completion bash > "./completions/fctl.bash"
go run main.go completion zsh > "./completions/fctl.zsh"
go run main.go completion fish > "./completions/fctl.fish"