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

doc: fix vup/vself replacement scripts #21092

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

davlgd
Copy link
Contributor

@davlgd davlgd commented Mar 25, 2024

In the documentation, there are scripts to replace vup.v and vself.v for packaging. They are composed of multiple echo to fill in a file line by line.

But after the first line we should use echo "content" >> dest_file.v to append content and not echo "content" > dest_file.v to replace it.

This PR fixes this.

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

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

Good spot.

@spytheman spytheman merged commit 9ad84dd into vlang:master Mar 25, 2024
4 checks passed
@davlgd davlgd deleted the davlgd-vup-self-doc-replacement branch March 29, 2024 20:28
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.

None yet

2 participants