Skip to content

Commit b16d81b

Browse files
authored
Merge pull request #6 from evshvarov/master
module data load added
2 parents f48113d + f20f8cc commit b16d81b

File tree

4 files changed

+5
-54
lines changed

4 files changed

+5
-54
lines changed

module.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
<Packaging>module</Packaging>
99
<SourcesRoot>src</SourcesRoot>
1010
<Resource Name="community.PKG" Directory="cls"/>
11-
<Resource Name="Community.tag.GBL" Directory="gbl"/>
11+
<Invokes>
12+
<Invoke Class="community.deploy" Method="run">
13+
</Invoke>
14+
</Invokes>
1215
</Module>
1316
</Document>
1417
</Export>

src/PackageSample/ObjectScript.cls

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/PackageSample/PersistentClass.cls

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/cls/community/deploy.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ClassMethod run(NameSpace) As %Status
66
{
77
w "Loading data from GitHub", !
88
Set sc = $$$OK
9-
set $namespace = NameSpace
9+
If $g(NameSpace)'="" set $namespace = NameSpace
1010

1111
set owner = "intersystems-community"
1212
set repo = "posts-and-tags"

0 commit comments

Comments
 (0)