Skip to content

Commit cc2f99d

Browse files
authored
Update README.md
1 parent a115333 commit cc2f99d

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,23 @@ NS> d ##class(sc.code).export()
2626
NS> d ##class(sc.code).import()
2727
```
2828

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+
```
3036

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.
3237
```
3338
isc.json
3439
"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"
3646
```
3747
Run init method to initialize project settings:
3848
```
@@ -46,6 +56,14 @@ Or compile it whenever you want to compile all the proejct related resources.
4656
```
4757
NS> d ##class(sc.code).compile()
4858
```
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)
65+
```
66+
4967

5068

5169

0 commit comments

Comments
 (0)