cscart / sdk

Home Page:https://www.cs-cart.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build a phar

pbkyriak opened this issue · comments

Not really an issue. But i built the tool to a phar and had to rename bin/cscart-sdk to
bin/cscart-sdk.php so my box.json would work The box.json for anyone interested.

{
    "chmod": "0755",
    "directories": [
        "src",
    "vendor"
    ],
    "files": [
        "bin/cscart-sdk.php"
    ],
    "finder": [
        {
            "name": "*.php",
            "exclude": ["Tests"],
            "in": "vendor"
        }
    ],
    "main": "bin/cscart-sdk.php",
    "output": "cscart-sdk.phar",
    "stub": true
}