Skip to content

chore: Improve the output of dfx build and dfx generate#4123

Merged
vincent-dfinity merged 8 commits intomasterfrom
vincent/SDK-1997
Mar 11, 2025
Merged

chore: Improve the output of dfx build and dfx generate#4123
vincent-dfinity merged 8 commits intomasterfrom
vincent/SDK-1997

Conversation

@vincent-dfinity
Copy link
Contributor

@vincent-dfinity vincent-dfinity commented Feb 27, 2025

Description

Improve the output of dfx build and dfx generate by

  1. output the canister names for dfx build, like
    $ dfx build
    Building canister 'hello_world_backend'. 
    Building canister 'hello_world_frontend'.
    Finished building canisters
    
  2. Make the output of 'dfx generate' more readable, like
    $ dfx generate
    Generated type declarations for canister 'hello_frontend' to '/home/***/projects/hello/src/declarations/hello_frontend'
    

Fixes # (issue)

SDK-1997
SDK-1998

How Has This Been Tested?

Added e2e test.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@vincent-dfinity vincent-dfinity requested a review from a team as a code owner February 27, 2025 09:18
@vincent-dfinity vincent-dfinity enabled auto-merge (squash) March 11, 2025 13:54
@vincent-dfinity vincent-dfinity merged commit 70bd3aa into master Mar 11, 2025
300 checks passed
@vincent-dfinity vincent-dfinity deleted the vincent/SDK-1997 branch March 11, 2025 14:29
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