Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates: remove build step from deploy scripts #2582

Closed
holic opened this issue Apr 1, 2024 · 1 comment · Fixed by #2839
Closed

templates: remove build step from deploy scripts #2582

holic opened this issue Apr 1, 2024 · 1 comment · Fixed by #2839
Labels
good first issue Good for newcomers

Comments

@holic
Copy link
Member

holic commented Apr 1, 2024

"deploy:local": "pnpm run build && mud deploy",
"deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet",

this happens automatically inside mud deploy

"dev": "pnpm mud dev-contracts",

can also change this to mud dev-contracts

then the scripts look a lot cleaner and more consistent:

"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"dev": "mud dev-contracts",
@holic holic added the good first issue Good for newcomers label Apr 1, 2024
@blackbeard002
Copy link
Contributor

Hello @holic, can I take this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Done
2 participants