Avature / dh-make-php

Build debian packages for php extensions
8 stars 7 forks source link

Testing package.xml #15

Open szepeviktor opened 7 years ago

szepeviktor commented 7 years ago

A small shell script.

#!/bin/bash
#
# Test PECL package.xml.
#

Phppkginfo() {
    local CMD="$1"

    echo -n "${CMD}="
    /usr/share/dh-make-php/phppkginfo . "$CMD" | head -n 5
    echo
}

test -r package.xml || exit 1

Phppkginfo version
Phppkginfo maintainers
Phppkginfo summary
Phppkginfo description
Phppkginfo packagerversion
Phppkginfo package
Phppkginfo release_license
Phppkginfo license
Phppkginfo date
Phppkginfo changelog
Phppkginfo hasphpscript
Phppkginfo all
szepeviktor commented 7 years ago

Actually I've tested phppkginfo with it.