-
Notifications
You must be signed in to change notification settings - Fork 7.4k
docs: add Windows support to install docs and justfile #8730
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
Changes from 1 commit
b4966c9
f4f6bb7
86c1f01
4bdaff8
2db0ef6
b19251a
2eaffd4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,5 @@ | ||||||
| set working-directory := "codex-rs" | ||||||
| set positional-arguments | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not convinced it is safe to take this away. See #1169 that added it in the first place. The PR body explains why |
||||||
| set windows-shell := ["powershell.exe", "-NoProfile", "-Command"] | ||||||
|
|
||||||
| # Display help | ||||||
| help: | ||||||
|
|
@@ -8,30 +8,30 @@ help: | |||||
| # `codex` | ||||||
| alias c := codex | ||||||
| codex *args: | ||||||
| cargo run --bin codex -- "$@" | ||||||
| cargo run --bin codex -- "{{args}}" | ||||||
|
||||||
|
|
||||||
| # `codex exec` | ||||||
| exec *args: | ||||||
| cargo run --bin codex -- exec "$@" | ||||||
| cargo run --bin codex -- exec "{{args}}" | ||||||
|
|
||||||
| # Run the CLI version of the file-search crate. | ||||||
| file-search *args: | ||||||
| cargo run --bin codex-file-search -- "$@" | ||||||
| cargo run --bin codex-file-search -- "{{args}}" | ||||||
|
|
||||||
| # Build the CLI and run the app-server test client | ||||||
| app-server-test-client *args: | ||||||
| cargo build -p codex-cli | ||||||
| cargo run -p codex-app-server-test-client -- --codex-bin ./target/debug/codex "$@" | ||||||
| cargo run -p codex-app-server-test-client -- --codex-bin ./target/debug/codex "{{args}}" | ||||||
|
|
||||||
| # format code | ||||||
| fmt: | ||||||
| cargo fmt -- --config imports_granularity=Item | ||||||
|
|
||||||
| fix *args: | ||||||
| cargo clippy --fix --all-features --tests --allow-dirty "$@" | ||||||
| cargo clippy --fix --all-features --tests --allow-dirty "{{args}}" | ||||||
|
|
||||||
| clippy: | ||||||
|
||||||
| clippy: | |
| clippy *args: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the "via WSL2" qualifier makes it appear that native Windows 11 is fully supported, but the installation instructions below (lines 23-24, 57) contain bash-specific commands that won't work on native Windows PowerShell. Either the documentation should be updated to include Windows-specific installation instructions, or the change should specify that while the codebase itself supports Windows, the setup instructions assume a Unix-like environment. Consider adding a note about Windows-specific setup or keeping the WSL2 qualifier until Windows-native installation instructions are added.