Skip to content

/src mixes stub files when generating different programs #15

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

Open
julianzamt opened this issue Aug 30, 2023 · 0 comments
Open

/src mixes stub files when generating different programs #15

julianzamt opened this issue Aug 30, 2023 · 0 comments
Labels
Backlog Stuff to be done in the future Enhancement This improve the product or Código's source code

Comments

@julianzamt
Copy link

Describe the bug
Generating different outputs to the same folder, it does not erase the destination folder before generating.
This produces an "append" side effect, where new files appear alongside old ones.

To Reproduce
1 - Generate a CIDL to the default output folder with the cli
2 - Generate another CIDL, that has different method names
3 - Take a look inside the program/client folder to see the "mixed" resultant program

Expected behavior

  • To override the entire program/client folders if the an existing output is specifed, or
  • To prevent generation giving feedback that the output folder must be changed because it exists already
  • To mangle the name of the second program

Screenshots
Example of the src folder after generating different CIDLs
image

Código CLI version:

  • Version v0.8
@julianzamt julianzamt added the Triage This item needs to be prioritize label Aug 30, 2023
@JazielGuerrero JazielGuerrero added Enhancement This improve the product or Código's source code todo and removed todo labels Aug 30, 2023
@JazielGuerrero JazielGuerrero added Backlog Stuff to be done in the future and removed Triage This item needs to be prioritize labels Dec 5, 2023
@JazielGuerrero JazielGuerrero removed their assignment Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog Stuff to be done in the future Enhancement This improve the product or Código's source code
Projects
None yet
Development

No branches or pull requests

2 participants