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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: handle paths in vcreate more gracefully #19870

Merged
merged 1 commit into from Nov 14, 2023

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Nov 14, 2023

馃 Generated by Copilot at d36c787

This pull request improves the cross-platform compatibility of the vcreate tool by using the os module for path manipulation. It refactors the code for creating different types of projects (library, web, and binary) and uses the os.join_path and os.dir functions instead of string interpolation or manual splitting and joining of path components. This makes the code more portable, reliable, and readable.

馃 Generated by Copilot at d36c787

@spytheman spytheman merged commit bf120cc into vlang:master Nov 14, 2023
40 of 43 checks passed
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