Skip to content

Comments

contracts: fix build script#642

Merged
snario merged 4 commits intomasterfrom
scripts/build-fix
Apr 27, 2021
Merged

contracts: fix build script#642
snario merged 4 commits intomasterfrom
scripts/build-fix

Conversation

@tynes
Copy link
Contributor

@tynes tynes commented Apr 26, 2021

Description
This PR fixes the script that is called during yarn build

  • Remove call to yarn run build:typescript:ovm which does not exist
  • Adds shebang to top of file
  • Builds the typescript, contracts and ovm contracts
  • Uses set -e to fail script execution if any commands exit with non-zero exit code

@changeset-bot
Copy link

changeset-bot bot commented Apr 26, 2021

🦋 Changeset detected

Latest commit: ec74a21

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/contracts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@snario snario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can maintain the concurrency

Comment on lines +1 to +5
---
"@eth-optimism/contracts": patch
---

Updates the `yarn build` command to not error
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do not need a changeset since yarn build is only needed locally? Perhaps to bump the Docker image's construction? If so that makes sense.

tynes and others added 2 commits April 26, 2021 17:01
Co-authored-by: Liam Horne <liam@lihorne.com>
@snario snario merged commit e713cd0 into master Apr 27, 2021
@snario snario deleted the scripts/build-fix branch April 27, 2021 01:05
maurelian pushed a commit that referenced this pull request Apr 29, 2021
* contracts: fix build script

* chore: add changeset

* Update packages/contracts/scripts/build.sh

Co-authored-by: Liam Horne <liam@lihorne.com>

* build: parallel

Co-authored-by: Liam Horne <liam@lihorne.com>
InoMurko pushed a commit to omgnetwork/optimism that referenced this pull request May 25, 2021
* contracts: fix build script

* chore: add changeset

* Update packages/contracts/scripts/build.sh

Co-authored-by: Liam Horne <liam@lihorne.com>

* build: parallel

Co-authored-by: Liam Horne <liam@lihorne.com>
theochap pushed a commit that referenced this pull request Dec 10, 2025
* feat(derive): pipeline core

* fix(derive): kona providers test utils

* fix(derive): test-utils
emhane pushed a commit that referenced this pull request Feb 4, 2026
Closes #641

---------

Co-authored-by: Himess <semihcvlk53@gmail.com>
emhane pushed a commit that referenced this pull request Feb 4, 2026
Closes #641

---------

Co-authored-by: Himess <semihcvlk53@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants