Added support for phar metadata

This commit is contained in:
2017-02-12 02:32:17 +01:00
parent 7ccdb99836
commit 4873ffdf02
9 changed files with 125 additions and 18 deletions
+9 -1
View File
@@ -4,14 +4,22 @@ phar "makephar.phar" {
// Set stub
stub "src/bootstrap.php";
props exec="props.php";
metadata {
package_name "makephar.application";
package_version prop="APP_VERSION";
update_channel "https://packages.noccylabs.info/channel/makephar/testing.json";
}
// Select files/dirs to include
include {
dir "vendor";
dir "src";
}
exclude {
dir ".git";
dir "Tests";
}
}