@@ -22,8 +22,34 @@ Support for the MS PowerShell programming language.
22
22
- Python 3.3 (for build scripts)
23
23
24
24
25
+ ## Publishing This Package Locally as a Directory
26
+
27
+ ** This is the recommended way of testing this package locally.**
28
+
29
+ First of all, you need to create a config file:
30
+
31
+
32
+ ```
33
+ %HOME%/.sublime-package-dev
34
+ ```
35
+
36
+ Add this content:
37
+
38
+ ```
39
+ global-win editor ~/path/to/sublime_text.exe
40
+ global-win installed-packages ~/path/to/sublime-text/Installed Packages
41
+ ```
42
+
43
+ 1 Clone [ this repo] [ this_repo ] to a folder of your choice
44
+ 1 . Make sure you have no * PowerShell.sublime-package* under the
45
+ ` {Data}/Installed Packages ` directory.
46
+ 1 . Run * ./bin/Build-Folder.ps1* on the command line.
47
+
48
+
25
49
## Generating ` PowerShell.sublime-package `
26
50
51
+ ** This method is not recommended at present.**
52
+
27
53
First of all, you need to create a config file:
28
54
29
55
@@ -61,10 +87,23 @@ is YAML format. To use this format, follow these steps:
61
87
You will get and updated version of the plist file.
62
88
63
89
64
- [ package_control ] : https://sublime.wbond.net/installation
65
- [ this_repo ] : https://github.com/SublimeText/PowerShell
66
- [ syntax_topic ] : http://sublime-text-unofficial-documentation.readthedocs.org/en/latest/extensibility/syntaxdefs.html
90
+ ## Running the Test Suite
91
+
92
+ ### Requirements
93
+
94
+ - UnitTesting (install via [ Package Control] [ package_control ] )
95
+
96
+ ### How to Run the Tests
97
+
98
+ Open the command palette, then select 'UnitTesting'. Type in 'PowerShell' and
99
+ press enter.
100
+
67
101
68
102
## Contributing
69
103
70
104
See [ CONTRIBUTING.md] ( CONTRIBUTING.md ) .
105
+
106
+
107
+ [ package_control ] : https://sublime.wbond.net/installation
108
+ [ this_repo ] : https://github.com/SublimeText/PowerShell
109
+ [ syntax_topic ] : http://sublime-text-unofficial-documentation.readthedocs.org/en/latest/extensibility/syntaxdefs.html
0 commit comments