Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants