Created
August 22, 2024 17:47
-
-
Save emaballarin/40d7e46b12ef2bd8ef753b12a5d23866 to your computer and use it in GitHub Desktop.
Build Zed on Windows from the latest commit available. Automated version of https://github.com/zed-industries/zed/blob/main/docs/src/development/windows.md#building-zed-for-windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env pwsh | |
rustup update | |
rustup target add wasm32-wasi | |
git clone --recursive --recurse-submodules --shallow-submodules --depth 1 --branch "main" https://github.com/zed-industries/zed.git | |
Set-Location zed | |
cargo clean --release | |
cargo build --release | |
cargo run --release | |
cp target\release\zed.exe ..\ | |
Set-Location ..\ | |
rm zed -Force -Recurse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment