Skip to content

Commit

Permalink
Fail on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Aug 18, 2023
1 parent ce4634f commit 0051f88
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,16 @@ jobs:
key: hardhat-{{ .Environment.SOLC_VERSION }}
paths:
- "~/.cache/hardhat-nodejs"

- run:
name: "Generate combined smart-contracts.md"
command: yarn workspace @synthetixio/docgen run docgen:contracts
working_directory: ~/synthetix-v3/utils/docgen
command: ./docgen-contracts.sh

- run:
name: "Generate combined addresses-+-abis.md"
command: yarn workspace @synthetixio/docgen run docgen:abis
working_directory: ~/synthetix-v3/utils/docgen
command: ./docgen-abis.sh

- store_artifacts:
path: "docs"
Expand Down
2 changes: 2 additions & 0 deletions utils/docgen/docgen-abis.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -euxo pipefail

echo "Docgen ABIs..."

ROOT=$(yarn workspace synthetix-v3 exec pwd)
Expand Down
2 changes: 2 additions & 0 deletions utils/docgen/docgen-contracts.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -euxo pipefail

echo "Docgen contracts..."

ROOT=$(yarn workspace synthetix-v3 exec pwd)
Expand Down

0 comments on commit 0051f88

Please sign in to comment.