Skip to content

Commit

Permalink
doc: add some doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Oct 3, 2024
1 parent cf9dbbc commit 51f4c7b
Show file tree
Hide file tree
Showing 208 changed files with 48,677 additions and 1,976 deletions.
1 change: 0 additions & 1 deletion DEV.md

This file was deleted.

5 changes: 3 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ generate:
FROM core+builder-image
RUN apk update && apk add openjdk11
RUN go install go.uber.org/mock/mockgen@latest
RUN go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest
COPY (+sources/*) /src
WORKDIR /src
RUN go generate ./...
Expand Down Expand Up @@ -54,7 +55,7 @@ build-image:
tests:
FROM +tidy
RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest
COPY --dir --pass-args (+generate/*) .
COPY --dir --pass-args (+generate-mocks/*) .

ARG includeIntegrationTests="true"
ARG includeEnd2EndTests="true"
Expand Down Expand Up @@ -120,6 +121,7 @@ pre-commit:
BUILD +generate
BUILD +generate-client
BUILD +export-docs-events
BUILD +export-database-schema

bench:
FROM +tidy
Expand Down Expand Up @@ -190,7 +192,6 @@ generate-client:
export-database-schema:
FROM +sources
RUN go install github.com/roerohan/wait-for-it@latest
WORKDIR /src/components/ledger
COPY --dir scripts scripts
WITH DOCKER --pull postgres:15-alpine --pull schemaspy/schemaspy:6.2.4
RUN ./scripts/export-database-schema.sh
Expand Down
Loading

0 comments on commit 51f4c7b

Please sign in to comment.