Skip to content

Support :has-exe as well#1658

Merged
bakpakin merged 1 commit intojanet-lang:masterfrom
sogaiu:tweak-has-bin-script
Oct 17, 2025
Merged

Support :has-exe as well#1658
bakpakin merged 1 commit intojanet-lang:masterfrom
sogaiu:tweak-has-bin-script

Conversation

@sogaiu
Copy link
Contributor

@sogaiu sogaiu commented Oct 17, 2025

This is a companion change to spork's #252 to address spork's #247 and a bit of #1648.

Please see spork's #247 for details.

As implemented, :has-been-script didn't quite mean what was intended. The intent of :has-exe is to improve on the current :has-been-script behavior (in spork) but also to act as an eventual replacement.

To prevent breakage, both :has-bin-script and :has-exe should be supported for a while in both spork and janet. Eventually :has-bin-script can be retired.

I hope some folks will try this and the companion change 🙏

This is a companion change to spork's issue

As implemented, :has-been-script didn't quite
mean what was intended.  :has-exe should
be an improvement.

To prevent breakage, both :has-bin-script and
:has-exe should be supported for a while in
both spork and janet.  Eventually
:has-bin-script can be retired.
@bakpakin bakpakin merged commit 98265f0 into janet-lang:master Oct 17, 2025
13 checks passed
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