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
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ import the [release](https://github.com/intersystems-ru/cache-udl/releases) to t
11
11
12
12
Map sc package to %All namespace to make it visible in any namespace.
13
13
14
+
# Usage
15
+
14
16
## Setup working directory ( optional )
15
17
```
16
18
NS> w ##class(sc.code).workdir("/path/to/your/working/directory/")
@@ -23,3 +25,29 @@ NS> d ##class(sc.code).export()
23
25
```
24
26
NS> d ##class(sc.code).import()
25
27
```
28
+
29
+
## Compile and Release:
30
+
31
+
Introduce cos.json file in the source root directory with settings for the code mask and for the name of the project. e.g.
32
+
```
33
+
cos.json
34
+
"compileList": "Classes*.INC,classes*.CLS,*.DFI",
35
+
"projectName": "myproject"
36
+
```
37
+
Run init method to initialize project settings:
38
+
```
39
+
NS> d ##class(sc.code).init()
40
+
```
41
+
Then run release to export all the classes in comileList into one "myproject.xml" release file. It will export it into the default for current Namespace directory.
42
+
```
43
+
NS> d ##class(sc.code).release()
44
+
```
45
+
Or compile it whenever you want to compile all the proejct related resources.
0 commit comments