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

create zig.exe symlink on every download-zig.sh execution #8568

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

vinnichase
Copy link
Contributor

@vinnichase vinnichase commented Jan 30, 2024

Symlink is not created on first setup.

see ziglang/vscode-zig#164
and #8147

What does this PR do?

Moved the symlink creation out of the if statement to ensure it will be run on first clone and on subsequent updates of zig.

How did you verify your code works?

Ran the script with empty .cache folder and again with zig already installed. zig.exe is present.

Symlink is not created on first setup.
@vinnichase vinnichase changed the title create symlink on every execution create zig.exe symlink on every download-zig.sh execution Jan 30, 2024
@paperdave paperdave merged commit 0aba512 into oven-sh:main Jan 30, 2024
@paperdave
Copy link
Member

thanks

ryoppippi pushed a commit to ryoppippi/bun that referenced this pull request Feb 1, 2024
Symlink is not created on first setup.
sroussey pushed a commit to sroussey/bun that referenced this pull request Feb 2, 2024
Symlink is not created on first setup.
Hanaasagi pushed a commit to Hanaasagi/bun that referenced this pull request Feb 3, 2024
Symlink is not created on first setup.
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