Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phar distribution #2

Merged
merged 3 commits into from
Jul 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
vendor
infection-log.txt
infection-log.txt
build/*
!build/.gitkeep
Empty file added .travis/.gitkeep
Empty file.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Change Log

## [0.1.0](https://github.com/infection/infection/tree/0.1.0) (2017-07-01)


\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
3 changes: 2 additions & 1 deletion app/container.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,12 @@
$c['application'] = function (Container $container) : Application {
$application = new Application(
'Infection - PHP Mutation Testing Framework',
'0.1.0'
'@package_version@'
);
$infectionCommand = new InfectionCommand($container);

$application->add(new \Infection\Command\ConfigureCommand());
$application->add(new \Infection\Command\SelfUpdateCommand());
$application->add($infectionCommand);

return $application;
Expand Down
35 changes: 35 additions & 0 deletions box.json.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"algorithm": "OPENSSL",
"chmod": "0755",
"directories": [
"src",
"app"
],
"files": [
"LICENSE"
],
"finder": [
{
"name": [
"*.php",
"*.dist"
],
"exclude": [
"tests",
"Tests",
"mockery",
"behat"
],
"in": [
"vendor"
]
}
],
"git-version": "package_version",
"main": "bin/infection",
"output": "build/infection.phar",
"stub": true,
"key": ".travis/infection-private.pem",
"compactors": "Herrera\\Box\\Compactor\\Php",
"compression": "GZ"
}
Empty file added build/.gitkeep
Empty file.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"symfony/finder": "^3.2",
"sebastian/diff": "^1.4",
"pimple/pimple": "^3.0",
"symfony/yaml": "^3.3"
"symfony/yaml": "^3.3",
"padraic/phar-updater": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "^6.1",
Expand Down
181 changes: 179 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.