File: composer.json

Recommend this page to a friend!
  Classes of Francesco Danti  >  Sphinx PHP Doc RST  >  composer.json  >  Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Sphinx PHP Doc RST
Generate Sphinx documentation from PHPDoc comments
Author: By
Last change:
Date: 11 months ago
Size: 2,127 bytes
 

Contents

Class file image Download
{
    "name": "abbadon1334/phpdoc-to-rst",
    "description": "Generate Sphinx/ReStructured documentation from PHPDoc",
    "type": "library",
    "require": {
        "phpdocumentor/reflection": "~4.0",
        "phpdocumentor/reflection-common": "2.0.0-beta1",
        "symfony/console": "^4.0"
    },
    "require-dev": {
        "codacy/coverage": "dev-master",
        "phpunit/phpunit": "*"
    },
    "license": "AGPL-3.0-or-later",
    "authors": [
        {
            "name": "Francesco Danti",
            "email": "fdanti@gmail.com"
        },
        {
            "name": "Julius Härtl",
            "email": "jus@bitgrid.net"
        },
        {
            "name": "Ferenc Kurucz",
            "email": "ferenc.kurucz.6351@gmail.com"
        }
    ],
    "minimum-stability": "dev",
    "autoload": {
        "psr-4": {
            "JuliusHaertl\\PHPDocToRst\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "JuliusHaertl\\PHPDocToRst\\Test\\": "tests/"
        }
    },
    "bin": ["bin/phpdoc-to-rst"],
    "scripts": {
        "build-phar" : [
            "# START BUILD",

            "# STEP 1 - Clear OLD BUILD -----",
            "rm -rf build",

            "# STEP 2 - SETUP NEW ENV -----",
            "mkdir -p build",

            "# STEP 3 - DOWNLOAD GIT REPO FOR BUILD -----",
            "wget -P build https://github.com/abbadon1334/phpdoc-to-rst/archive/master.zip",

            "# STEP 4 - UNZIP REPO FOR BUILD -----",
            "cd build && unzip master.zip",

            "# STEP 5 - INSTALL COMPOSER WITHOUT DEV TO OPTIMIZE FINAL SIZE -----",
            "cd build/phpdoc-to-rst-master && composer install --no-dev",

            "# STEP 6 - DOWNLOAD PHAR-COMPOSER -----",
            "wget -P build https://github.com/clue/phar-composer/releases/download/v1.0.0/phar-composer.phar",
            "chmod +x build/phar-composer.phar",

            "# STEP 7 - BUILD PHAR FOR REPO -----",
            "cd build && php -d phar.readonly=off phar-composer.phar build phpdoc-to-rst-master ../master.phar",

            "# END BUILD - ALL OK"
        ]
    }
}

For more information send a message to info at phpclasses dot org.