Skip to content

Fix wscript support#966

Merged
AlDanial merged 1 commit into
AlDanial:masterfrom
panicgh:fix-wscript
Apr 24, 2026
Merged

Fix wscript support#966
AlDanial merged 1 commit into
AlDanial:masterfrom
panicgh:fix-wscript

Conversation

@panicgh

@panicgh panicgh commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

The waf build system uses "wscript" files, whereby "wscript" is the actual file name and not an extension ("foo.wscript" is not supported). wscript files are normal Python files.

See also https://waf.io/book/#_waf_commands_and_usage

I'm unsure if wscript should be moved from Language_by_Extension to Language_by_File_Type vs just added to Language_by_Extension, because e.g. Makefile and other names are listed in both places too.

The waf build system uses "wscript" files, whereby "wscript" is the
actual file name and not an extension ("foo.wscript" is not supported).
wscript files are normal Python files.
@AlDanial AlDanial merged commit 88b048f into AlDanial:master Apr 24, 2026
1 check passed
@AlDanial

Copy link
Copy Markdown
Owner

If wscript isn't an accepted extension then it makes sense to move it to _by_File_Type, as you've done

@panicgh panicgh deleted the fix-wscript branch April 24, 2026 12:01
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