-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optionally merge the `scripts` section of included configuration files. Closes #135
- Loading branch information
Showing
10 changed files
with
245 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extra": { | ||
"merge-plugin": { | ||
"merge-scripts": true, | ||
"include": "composer.local.json" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"scripts": { | ||
"example-script": [ | ||
"echo 'hello world'", | ||
"echo 'hello again world'" | ||
], | ||
"example-script2": "echo 'hello world'" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
tests/phpunit/fixtures/testMergeScriptsConflict/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extra": { | ||
"merge-plugin": { | ||
"merge-scripts": true, | ||
"include": "composer.local.json" | ||
} | ||
}, | ||
"scripts": { | ||
"example-script2": "echo 'goodbye world'", | ||
"example-script3": [ | ||
"echo 'adios world'" | ||
] | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
tests/phpunit/fixtures/testMergeScriptsConflict/composer.local.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"scripts": { | ||
"example-script": [ | ||
"echo 'hello world'", | ||
"echo 'hello again world'" | ||
], | ||
"example-script2": "echo 'hello world'", | ||
"example-script3": "echo 'hola world'" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
tests/phpunit/fixtures/testMergeScriptsConflictReplace/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"extra": { | ||
"merge-plugin": { | ||
"replace": true, | ||
"merge-scripts": true, | ||
"include": "composer.local.json" | ||
} | ||
}, | ||
"scripts": { | ||
"example-script2": "echo 'goodbye world'", | ||
"example-script3": "echo 'adios world'" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
tests/phpunit/fixtures/testMergeScriptsConflictReplace/composer.local.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"scripts": { | ||
"example-script": [ | ||
"echo 'hello world'", | ||
"echo 'hello again world'" | ||
], | ||
"example-script2": "echo 'hello world'", | ||
"example-script3": [ | ||
"echo 'hola world'" | ||
] | ||
} | ||
} |