Skip to content

Commit

Permalink
feat: switch to single package build
Browse files Browse the repository at this point in the history
Replace the split build with a single package build.

From the top-level:
```bash
buf generate
```

Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed Feb 5, 2024
1 parent 3162b97 commit 3f09cd9
Show file tree
Hide file tree
Showing 134 changed files with 13,085 additions and 16,591 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,13 @@ jobs:
run: npm install @bufbuild/buf

- name: Generate code
run: |
for DIR in build cardano submit sync watch; do
cd $DIR && buf generate proto
cd ..
done
run: buf generate

- name: Create codegen artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.codegen-artifact }}
path: "**/gen"
path: "gen/**"

- name: Cache Cabal
if: steps.cache-cabal-build.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions cardano/buf.gen.yaml → buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/utxorpc/spec/cardano/gen/go
default: github.com/utxorpc/spec/gen/go

plugins:
- plugin: buf.build/protocolbuffers/go
out: gen/go
opt: paths=source_relative

- plugin: buf.build/bufbuild/connect-go
- plugin: buf.build/connectrpc/go
out: gen/go
opt: paths=source_relative

Expand Down
49 changes: 0 additions & 49 deletions build/buf.gen.yaml

This file was deleted.

290 changes: 0 additions & 290 deletions build/gen/docs/docs.md

This file was deleted.

Loading

0 comments on commit 3f09cd9

Please sign in to comment.