Skip to content

Commit

Permalink
dx: create symlink on every execution (oven-sh#8568)
Browse files Browse the repository at this point in the history
Symlink is not created on first setup.
  • Loading branch information
vinnichase authored and ryoppippi committed Feb 1, 2024
1 parent 7d34d56 commit ef7509d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/download-zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@ update_repo_if_needed() {
done

printf "Zig was updated to ${zig_version}. Please commit new files."

# symlink extracted zig to extracted zig.exe
# TODO: Workaround for https://github.com/ziglang/vscode-zig/issues/164
ln -sf "${extract_at}/zig" "${extract_at}/zig.exe"
chmod +x "${extract_at}/zig.exe"

fi
# symlink extracted zig to extracted zig.exe
# TODO: Workaround for https://github.com/ziglang/vscode-zig/issues/164
ln -sf "${extract_at}/zig" "${extract_at}/zig.exe"
chmod +x "${extract_at}/zig.exe"
}

if [ -e "${extract_at}/.version" ]; then
Expand Down

0 comments on commit ef7509d

Please sign in to comment.