Skip to content

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

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:qjsc-c
Mar 17, 2025
Merged

Add qjsc -C flag to compile as classic script#978
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:qjsc-c

Conversation

@bnoordhuis
Copy link
Copy Markdown
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
@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