|
572 | 572 | "tags": "st4107-" |
573 | 573 | } |
574 | 574 | ] |
| 575 | + }, |
| 576 | + |
| 577 | + // Locally hosted package using `file://` protocol. |
| 578 | + { |
| 579 | + "name": "My Package", |
| 580 | + "description": "A locally hosted Sublime Text package", |
| 581 | + "author": "John Doe", |
| 582 | + "issues": "https://company.com/software/issues", |
| 583 | + "releases": [ |
| 584 | + { |
| 585 | + "platforms": ["windows-x64"], |
| 586 | + "version": "1.0.0", |
| 587 | + "url": "file:///c:/absolute/path/to/My Package.sublime-package" |
| 588 | + }, |
| 589 | + { |
| 590 | + "platforms": ["linux-x64"], |
| 591 | + "version": "1.0.0", |
| 592 | + "url": "./path/relative/to/repository_json/My Package.sublime-package" |
| 593 | + } |
| 594 | + ] |
575 | 595 | } |
576 | 596 | ], |
577 | 597 |
|
|
803 | 823 | "python_versions": ["3.3"] |
804 | 824 | } |
805 | 825 | ] |
| 826 | + }, |
| 827 | + |
| 828 | + // Locally hosted libraries using `file://` protocol. |
| 829 | + { |
| 830 | + "name": "My Library", |
| 831 | + "description": "A locally hosted python package", |
| 832 | + "author": "John Doe", |
| 833 | + "issues": "https://company.com/software/issues", |
| 834 | + "releases": [ |
| 835 | + { |
| 836 | + "platforms": ["linux-x64"], |
| 837 | + "python_versions": ["3.8"], |
| 838 | + "version": "1.0.0", |
| 839 | + "url": "file:///absolute/path/to/my_librariy.whl" |
| 840 | + }, |
| 841 | + { |
| 842 | + "platforms": ["windows-x64"], |
| 843 | + "python_versions": ["3.8"], |
| 844 | + "version": "1.0.0", |
| 845 | + "url": "./path/relative/to/repository_json/my_librariy.whl" |
| 846 | + } |
| 847 | + ] |
806 | 848 | } |
807 | 849 | ], |
808 | 850 |
|
|
821 | 863 | "./repository/0-9.json", |
822 | 864 | "./repository/a.json", |
823 | 865 |
|
824 | | - // An example of an absolute URL |
| 866 | + // An example of a local absolute URL |
| 867 | + "file:///absolute/path/to/repository.json", |
| 868 | + |
| 869 | + // An example of a remote absolute URL |
825 | 870 | "https://packagecontrol.io/repository/b.json" |
826 | 871 | ] |
827 | 872 | } |
0 commit comments