Skip to content

Commit

Permalink
[TASK] Use humbug/box to release surf.phar file (TYPO3#345)
Browse files Browse the repository at this point in the history
- Remove old release command. Not needed, because humbug box only use non-dev dependencies

Resolves: TYPO3#305
  • Loading branch information
sabbelasichon authored Feb 21, 2020
1 parent 0501c17 commit 21e8bd6
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 277 deletions.
Binary file added bin/box
Binary file not shown.
33 changes: 0 additions & 33 deletions bin/release

This file was deleted.

9 changes: 3 additions & 6 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"output": "bin/surf.phar",
"main": "surf",
"chmod": "0755",
"output": "release/surf.phar",
"files": [
"LICENSE.txt",
"Resources/Private/Scripts/PasswordSshLogin.expect"
Expand All @@ -10,9 +8,8 @@
{
"name": "*.php",
"exclude": ["Tests", "tests"],
"in": ["src", "vendor", "Migrations", "Resources"]
"in": ["src", "vendor", "Resources"]
}
],
"git-commit": "git-commit",
"stub": true
"git-commit": "git-commit"
}
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"webmozart/assert": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "^6.5",
"phpunit/phpunit": "^7.0",
"friendsofphp/php-cs-fixer": "^2.14"
},
"scripts": {
"release-phar": "bin/box build"
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
Expand Down
Loading

0 comments on commit 21e8bd6

Please sign in to comment.