Skip to content

Commit

Permalink
Merge pull request #58 from buildbarn/additional-scm-data
Browse files Browse the repository at this point in the history
Additional scm data
  • Loading branch information
mortenmj authored Nov 21, 2024
2 parents 4a88c7f + b987eaf commit bb9a108
Show file tree
Hide file tree
Showing 35 changed files with 5,477 additions and 1,009 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,27 @@ lint:
bazel run @cc_mvdan_gofumpt//:gofumpt -- -w -extra $(CURDIR)
bazel run @org_golang_x_lint//golint -- -set_exit_status $(CURDIR)/...
bazel test //...
cd frontend && npx graphql-codegen --config ./src/graphql/codegen.ts
git restore pkg/proto/configuration/bb_portal/BUILD.bazel

.PHONY: lint-fix
lint-fix:
golangci-lint --timeout 10m run --fix ./...

.PHONY: npxgen
npxgen:
cd frontend && npx graphql-codegen --config ./src/graphql/codegen.ts

.PHONY: test
test:
go test ./...

.PHONY: update-tests
update-tests:
go test ./pkg/processing/ -snapshot-for-api-tests
go test ./internal/graphql/ -update-golden
go test ./pkg/summary/ -update-golden

.PHONY: generate-bazel
generate-bazel:
go generate ./third_party/bazel/...
40 changes: 40 additions & 0 deletions ent/gen/ent/gql_collection.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bb9a108

Please sign in to comment.