Skip to content

Commit 3959da4

Browse files
committed
#11 Use vcs type for dependent repositories. Because the alternative hack was too confusing. See: #2 (comment)
1 parent 57596f7 commit 3959da4

File tree

3 files changed

+307
-248
lines changed

3 files changed

+307
-248
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Now you can run the `inventory:gsheet-to-xml` using the token.
199199
200200
### Composer validation notice is OK
201201
202-
The team [uses a trick](https://github.com/xmlsquad/xml-authoring-project/issues/2#issuecomment-394185484) to check dependencies. This trick leaves a validation warning when the project's `composer.json` file is checked by `composer validate`.
202+
Before 2019-11-03, the team [used a trick](https://github.com/xmlsquad/xml-authoring-project/issues/2#issuecomment-394185484) to check dependencies. This trick leaves a validation warning when the project's `composer.json` file is checked by `composer validate`.
203203

204204
```bash
205205
$ pwd

composer.json

+30-30
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,36 @@
33
"description": "Structured directory where xmls get created, read, updaated or deleted.",
44
"type": "project",
55
"license": "Apache-2.0",
6-
"repositories-local": [{
7-
"type": "path",
8-
"url": "../xml-authoring-library",
9-
"options": {
10-
"symlink": false
6+
7+
"repositories": [
8+
{
9+
"type":"vcs",
10+
"url": "[email protected]:xmlsquad/xml-authoring-tools.git"
11+
},
12+
{
13+
"type":"vcs",
14+
"url": "[email protected]:xmlsquad/xmlauthor-example-command.git"
15+
},
16+
{
17+
"type":"vcs",
18+
"url": "[email protected]:xmlsquad/ping-drive.git"
19+
},
20+
{
21+
"type":"vcs",
22+
"url": "[email protected]:xmlsquad/gsheet-to-xml.git"
23+
},
24+
{
25+
"type":"vcs",
26+
"url": "[email protected]:xmlsquad/capture-lookups.git"
27+
},
28+
{
29+
"type":"vcs",
30+
"url": "[email protected]:xmlsquad/xml-authoring-library.git"
1131
}
12-
},{
13-
"type": "path",
14-
"url": "../xml-authoring-tools",
15-
"options": {
16-
"symlink": false
17-
}
18-
},{
19-
"type": "path",
20-
"url": "../xmlauthor-example-command",
21-
"options": {
22-
"symlink": false
23-
}
24-
},{
25-
"type": "path",
26-
"url": "../ping-drive",
27-
"options": {
28-
"symlink": false
29-
}
30-
},{
31-
"type": "path",
32-
"url": "../gsheet-to-xml",
33-
"options": {
34-
"symlink": false
35-
}
36-
}],
32+
33+
],
34+
35+
3736

3837
"require": {
3938
"xmlsquad/xml-authoring-tools": "dev-master",
@@ -42,6 +41,7 @@
4241
"xmlsquad/gsheet-to-xml": "@dev",
4342
"xmlsquad/capture-lookups": "@dev",
4443
"xmlsquad/xml-authoring-library": "@dev"
44+
4545
},
4646
"config": {
4747
"bin-dir": "bin"

0 commit comments

Comments
 (0)