2017 © Pedro Peláez
 

library composer-scripts

Fixes slashe issues on Windows when executing composer scripts (like 'bin/example').

image

instituteweb/composer-scripts

Fixes slashe issues on Windows when executing composer scripts (like 'bin/example').

  • Tuesday, February 21, 2017
  • by ArminVieweg
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,643 Installations
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 15 % Grown

The README.md

Composer Scripts

On Windows you get errors when you try to execute this in script section:, (*1)

"bin/example"

Because Windows expects backslashes instead of slashes. When using ImprovedScriptExecution the paths are adjusted if host system is Windows., (*2)

Usage Example:, (*3)

 "scripts": {
     "post-autoload-dump": [
         "\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
         "bin/example --help"
     ]
 }

The Versions

21/02 2017

dev-master

9999999-dev https://bitbucket.org/InstituteWeb/composer-scripts

Fixes slashe issues on Windows when executing composer scripts (like 'bin/example').

  Sources   Download

GPL-2.0

The Development Requires

21/02 2017

1.1.0

1.1.0.0 https://bitbucket.org/InstituteWeb/composer-scripts

Fixes slashe issues on Windows when executing composer scripts (like 'bin/example').

  Sources   Download

GPL-2.0

The Development Requires

06/01 2017

1.0.5

1.0.5.0 https://bitbucket.org/InstituteWeb/composer-scripts

Improves composer's scripts section, by adding @php notation which gets replaced by PHP_BINARY of previous composer call. Also it makes identically script calls possible, for unix and windows.

  Sources   Download

GPL-2.0

The Development Requires

06/01 2017

1.0.4

1.0.4.0 https://bitbucket.org/InstituteWeb/composer-scripts

Improves composer's scripts section, by adding @php notation which gets replaced by PHP_BINARY of previous composer call. Also it makes identically script calls possible, for unix and windows.

  Sources   Download

GPL-2.0

The Development Requires

11/12 2016

1.0.3

1.0.3.0 https://bitbucket.org/InstituteWeb/composer-scripts

Improves composer's scripts section, by adding @php notation which gets replaced by PHP_BINARY of previous composer call. Also it converts unix directory separator to windows format.

  Sources   Download

GPL-2.0

The Development Requires

11/12 2016

1.0.2

1.0.2.0 https://bitbucket.org/InstituteWeb/composer-scripts

Improves composer's scripts section, by adding @php notation which gets replaced by PHP_BINARY of previous composer call. Also it converts unix directory separator to windows format.

  Sources   Download

GPL-2.0

The Development Requires

11/12 2016

1.0.1

1.0.1.0 https://bitbucket.org/InstituteWeb/composer-scripts

Improves composer's scripts section, by adding @php notation which gets replaced by PHP_BINARY of previous composer call. Also it converts unix directory separator to windows format.

  Sources   Download

GPL-2.0

The Development Requires

11/12 2016

1.0.0

1.0.0.0 https://bitbucket.org/InstituteWeb/composer-scripts

Improves composer's scripts section, by adding @php notation which gets replaced by PHP_BINARY of previous composer call. Also it converts unix directory separator to windows format.

  Sources   Download

GPL-2.0

The Development Requires