You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-3Lines changed: 21 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,23 @@ NS> d ##class(sc.code).export()
26
26
NS> d ##class(sc.code).import()
27
27
```
28
28
29
-
## Compile and Release:
29
+
## Compile, Release and Patch:
30
+
31
+
Introduce isc.json file in the source root directory with settings for the code mask, for the name of the project and for get the patch form local git or GitHub. e.g.
32
+
```
33
+
"git": 0 - files diff from local git
34
+
"git": 1 - files diff from GitHub
35
+
```
30
36
31
-
Introduce isc.json file in the source root directory with settings for the code mask and for the name of the project. e.g.
32
37
```
33
38
isc.json
34
39
"compileList": "Classes*.INC,classes*.CLS,*.DFI",
35
-
"projectName": "myproject"
40
+
"projectName": "myproject",
41
+
"git": 0,
42
+
"owner": "owner",
43
+
"repository": "repository",
44
+
"user": "user",
45
+
"password": "password"
36
46
```
37
47
Run init method to initialize project settings:
38
48
```
@@ -46,6 +56,14 @@ Or compile it whenever you want to compile all the proejct related resources.
46
56
```
47
57
NS> d ##class(sc.code).compile()
48
58
```
59
+
Get last changes from github or local git. Run patch to export the classes in comileList into one "patch.xml" patch file. It will export it into the default for current Namespace directory or you can choose where export. By default, makes a patch from the last commit if you do not specify `commitFrom` and `commitTo` e.g.
60
+
```
61
+
NS> s filename = "c:\patch.xml"
62
+
NS> s commitFrom = 1
63
+
NS> s commitTo = 5
64
+
NS> d ##class(sc.code).patch(filename,commitFrom,commitTo)
0 commit comments