33 lines
767 B
Plaintext
33 lines
767 B
Plaintext
// Define output file here
|
|
phar "output.phar" {
|
|
|
|
// Remove this line to build an executable
|
|
library;
|
|
|
|
// Remove this line to minify source files (recommended9)
|
|
verbatim;
|
|
|
|
// Define the stub called when the phar is executed
|
|
stub "src/bootstrap.php";
|
|
|
|
// Phar metadata
|
|
metadata {
|
|
generator "MakePhar/2.0";
|
|
channel_stable "http://dist.noccylabs.info/channels/makephar/stable.json";
|
|
channel_beta "http://dist.noccylabs.info/channels/makephar/beta.json";
|
|
}
|
|
|
|
// Select files/dirs to include
|
|
include {
|
|
dir "vendor";
|
|
dir "src" verbatim=true; /* directories and files can be marked verbatim */
|
|
}
|
|
|
|
// Patterns to exclude
|
|
exclude {
|
|
dir "Tests";
|
|
dir ".git";
|
|
}
|
|
|
|
}
|