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

feat: initial cross-platform shebang support #113

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

dsherret
Copy link
Member

Closes #23

@@ -684,7 +689,7 @@ fn execute_command_args(
}
}

async fn evaluate_args(
pub(crate) async fn evaluate_args(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly messy...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll land a follow-up PR after this one to clean this up.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please open a PR to https://github.com/denoland/deno-docs that explains this in a few sentences?

src/shell/commands/executable.rs Show resolved Hide resolved
src/shell/commands/executable.rs Outdated Show resolved Hide resolved
src/shell/commands/executable.rs Outdated Show resolved Hide resolved
@dsherret
Copy link
Member Author

Will do when merging to CLI.

@dsherret dsherret merged commit 750e562 into denoland:main Mar 27, 2024
4 checks passed
@dsherret dsherret deleted the feat_initial_shebang_support branch March 27, 2024 01:08
dsherret added a commit to denoland/deno that referenced this pull request Mar 27, 2024
Adds cross-platform shebang support (supports using shebangs in `deno
task` on Windows)

denoland/deno_task_shell#113
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.

Ability to execute files with shebang on Windows and older versions of Ubuntu?
2 participants