Skip to content

bin script unusable on windows #59

@uuf6429

Description

@uuf6429

Composer typically ensures compatibility between operating systems - what the plugin vendor needs to do is to provide a PHP-based bin script, not bash or anything else.

Currently, the bin script (as referenced from composer.json) is wrong - composer doesn't consider it as PHP and ends up generating the wrong type of proxy script.

The fix, in short:

  1. cmd/s2c should be removed
  2. cmd/s2c.php should be renamed to cmd/s2c and optionally made executable with chmod +x

Here's an example of how phpunit does it: the script, the composer reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions