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

feat: allow user to choose build mode: debug (default) or release #202

Merged
merged 8 commits into from
Jun 17, 2024

Conversation

AlexD10S
Copy link
Collaborator

Allow user to indicate the build mode for the contract: debug (default) or release with the flag --release.

Example:

pop build contract -p ./my_contract --release

Closes #102

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 56.52%. Comparing base (2713de5) to head (0d72ab1).
Report is 1 commits behind head on main.

@@            Coverage Diff             @@
##             main     #202      +/-   ##
==========================================
- Coverage   56.58%   56.52%   -0.07%     
==========================================
  Files          33       33              
  Lines        3513     3517       +4     
  Branches     3513     3517       +4     
==========================================
  Hits         1988     1988              
- Misses       1232     1236       +4     
  Partials      293      293              
Files Coverage Δ
crates/pop-contracts/src/call.rs 0.00% <ø> (ø)
crates/pop-cli/src/commands/up/contract.rs 0.00% <0.00%> (ø)
crates/pop-cli/src/commands/build/contract.rs 0.00% <0.00%> (ø)
crates/pop-contracts/src/build.rs 0.00% <0.00%> (ø)

README.md Outdated Show resolved Hide resolved
crates/pop-contracts/src/build.rs Outdated Show resolved Hide resolved
crates/pop-contracts/src/build.rs Show resolved Hide resolved
crates/pop-contracts/README.md Outdated Show resolved Hide resolved
@Daanvdplas Daanvdplas self-requested a review June 17, 2024 07:06
@AlexD10S AlexD10S merged commit ca22666 into main Jun 17, 2024
13 of 15 checks passed
@AlexD10S AlexD10S deleted the alex/build-contract-mode branch June 17, 2024 07:37
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.

feature: pop build contract debug
2 participants