HaxeFoundation / HaxeFoundation/hxnodejs

Prefix compiled JS with shebang

Open
#90 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haxe
Stars
177
Forks
58
PR merge metrics
No merged PRs in 30d

Description

It would be cool if we could prefix the output with `#!/usr/bin/env node` automatically (at least as an opt-in).

Currently I do some wacky `Context.onAfterGenerate` which together with the compiler server occasionally leads to the prefix being there twice or not at all (although lately it's been fine).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.