Skip to content

Comments

make: Misc Makefile Improvements#2772

Merged
mergify[bot] merged 2 commits intodevelopfrom
ns/makefile
Jun 14, 2022
Merged

make: Misc Makefile Improvements#2772
mergify[bot] merged 2 commits intodevelopfrom
ns/makefile

Conversation

@norswap
Copy link
Contributor

@norswap norswap commented Jun 14, 2022

  • add make nuke which removes ALL build output/caches/etc (everything that is .gitignored)
    • also has clean and devnet-clean as dependencies
  • add -v flag to xargs in make devnet-clean so that it doesn't error when there are no volumes or images to delete
  • if nvm is installed, emit nvm use to switch to the .nvmrc version before compiling js
  • add yarn install to build-ts: it doesn't add much overhead, and avoids confusion when dummies like me forget to run it beforehand (there is really nothing in the subsequent error message that tells you that this is what is going on)

* Add `make nuke` which removes ALL build output/caches/etc
  (everything that is `.gitignore`d).

* Add `-v` flag to `xargs` in `make devnet-clean` so that it doesn't error when
  there are no volumes or images to delete.

* If `nvm` is installed, emit `nvm use` before compiling js.

* Add `yarn install` to `build-ts`.
@changeset-bot
Copy link

changeset-bot bot commented Jun 14, 2022

⚠️ No Changeset found

Latest commit: a9f3913

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@mergify mergify bot requested review from Inphi and tuxcanfly June 14, 2022 00:37
Copy link
Contributor

@Inphi Inphi left a comment

Choose a reason for hiding this comment

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

nvmind. This looks good.

@mergify
Copy link
Contributor

mergify bot commented Jun 14, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Contributor

mergify bot commented Jun 14, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot merged commit e4b8b70 into develop Jun 14, 2022
@mergify mergify bot deleted the ns/makefile branch June 14, 2022 15:22
@mergify mergify bot removed the on-merge-train label Jun 14, 2022
@mslipper mslipper mentioned this pull request Jun 18, 2022
theochap pushed a commit that referenced this pull request Dec 10, 2025
Closes #2771

Spec: ethereum-optimism/specs#753

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.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.

3 participants