Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ COMMIT := $(shell git rev-parse --short HEAD)
TAG := "$(shell git rev-list --tags --max-count=1)"
VERSION := "$(shell git describe --tags ${TAG})-next"
BUILD_DIR=dist
PROTON_COMMIT := "8516e5e"

.PHONY: all build clean test tidy vet proto setup format generate lint install

Expand Down Expand Up @@ -52,8 +51,7 @@ config: ## Generate sample config file
@cp internal/config/config.example.yaml config.yaml

proto: ## Generate protobuf files
@rm -rf proto/
@buf generate https://github.com/raystack/proton/archive/${PROTON_COMMIT}.zip#strip_components=1 --template buf.gen.yaml --path raystack/compass -v
@buf generate

setup: ## Install required dependencies
@go mod tidy
Expand Down
9 changes: 4 additions & 5 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: v2
# Proto source lives in the proton repo (../proton).
# After running `buf generate`, remove unwanted generated files:
# find gen/raystack -mindepth 1 -maxdepth 1 ! -name compass -exec rm -rf {} +
inputs:
- directory: ../proton
- module: buf.build/bufbuild/protovalidate
- git_repo: https://github.com/raystack/proton.git
ref: 8516e5e694d6b029a524da2ce42d3e8a5be9f339
paths:
- raystack/compass
managed:
enabled: true
override:
Expand Down
2 changes: 1 addition & 1 deletion docs/vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"framework": null,
"buildCommand": "npx @raystack/chronicle@0.5.2 build --preset=vercel --content=./docs",
"buildCommand": "npx @raystack/chronicle@0.5.4 build --preset=vercel --content=./docs",
"installCommand": "echo 'skip'"
}
Loading