Skip to content

Add qjsc -C flag to compile as classic script #978

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

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

bnoordhuis
Copy link
Contributor

@bnoordhuis bnoordhuis commented Mar 15, 2025

Add -C as the complementary to the -m flag to qjsc that compiles the input as an ES module.

Add -C as a shorthand alias for --script to qjs and harmonize the qjs and qjsc help messages.

Add -C as the complementary to the -m flag to qjsc that compiles
the input as an ES module.

Add -C as a shorthand alias for --script to qjs and harmonize the
qjs and qjsc help messages.

Capital C because -c is already taken.
@bnoordhuis bnoordhuis changed the title Add qjsc -c flag to compile as classic script Add qjsc -C flag to compile as classic script Mar 15, 2025
@bnoordhuis bnoordhuis merged commit 4362b73 into quickjs-ng:master Mar 17, 2025
128 checks passed
@bnoordhuis bnoordhuis deleted the qjsc-c branch March 17, 2025 10:30
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