forked from wbond/package_control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-dependencies.json
39 lines (34 loc) · 1.22 KB
/
example-dependencies.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
// BE SURE TO REMOVE THESE COMMENTS BEFORE USING THIS TEMPLATE SINCE
// COMMENTS ARE NOT ALLOWED IN JSON
// This file is a filesystem-level solution for specifying dependencies
// for packages. This is most useful for package developers since they are
// not installing their own packages from a repository or channel, and
// need to make sure Package Control installs the dependencies they need.
// The file contains two levels of selectors, platform and Sublime Text
// version, to pick what set of dependencies should be installed.
// The most-specific selectors will be used, and all other ignored. This
// means that some dependencies will be duplicated under a specific
// platform and under *.
// The first level of keys should be the value from sublime.platform(),
// or "*" for all platforms.
"windows": {
// The second level should be a version selector, like used for
// the sublime_text value in package releases.
"<3000": [
"select-windows",
"cffi",
"cryptography",
"pyOpenSSL"
]
},
// Matching of platform and version selectors is exclusive. Thus, these
// dependencies will only be installed if no other keys matched first.
"*": {
"*": [
"cffi",
"cryptography",
"pyOpenSSL"
]
}
}