2017 © Pedro Peláez
 

library binary-symlink

Binary symlink script handler

image

evolaze/binary-symlink

Binary symlink script handler

  • Sunday, August 6, 2017
  • by Evlz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Binary distribution script handler

Replace platform dependent symlink commands like, (*1)

    "ln -sf ../app/bin/some-binary.sj bin/some-binary.sh"
    "ln -sf ../app/bin/some-other-binary.sj bin/other-binary.sh"

with extra config section and post install or\and update trigger, (*2)

Installation

composer require evolaze/binary-symlink

In order to add link from app/from.sh to bin/to.sh, (*3)

Composer.json

    "scripts": {
        "post-install-cmd": [
            "Evolaze\\BinarySymlink\\ScriptHandler::installBinary"
        ]
    },
    "extra": {
        "evolaze-binary-symlink": {
            "links": [
                {
                    "from": "from",
                    "to": "to"
                }
            ]
        }
    }

Defaults

  • Default dir to create links from is app
  • Default dir to create links to is bin

See other examples and tests, (*4)

Tests

./bin/phpunit -c ./tests/phpunit.xml - php 7.1+ must be installed, (*5)

or, (*6)

./app/composer.sh run-script test - docker must be installed, (*7)

The Versions

06/08 2017

dev-master

9999999-dev

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

06/08 2017

2.0.0

2.0.0.0

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

06/08 2017

dev-enhancement-18

dev-enhancement-18

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

06/08 2017

dev-feature-5

dev-feature-5

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

20/07 2017

dev-feature-4-additional

dev-feature-4-additional

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

20/07 2017

dev-feature-4

dev-feature-4

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

20/07 2017

dev-feature-11

dev-feature-11

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

14/06 2017

dev-issue-1

dev-issue-1

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

13/06 2017

dev-add-licence

dev-add-licence

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan

04/06 2016

1.0.0

1.0.0.0

Binary symlink script handler

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hanov Ruslan