Skip to content

Commit

Permalink
GetReferences in AXSharpProject should be public (#334)
Browse files Browse the repository at this point in the history
* Create draft PR for #333

* GetReferences made public

---------

Co-authored-by: TK <61820360+TomKovac@users.noreply.github.com>
  • Loading branch information
IX-BOT and TomKovac authored Oct 7, 2024
1 parent 38114cf commit 2468b95
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void Generate()
var toCompile = refParseTrees.Concat(projectSources.Select(p => p.parseTree));

var compilationResult = Compilation.Create(toCompile, new List<ISemanticAnalyzer>(), Compilation.Settings.Default).Result;

this.CleanOutput(this.OutputFolder);

foreach (var origin in projectSources)
Expand Down Expand Up @@ -194,7 +194,7 @@ private static string EnsureFolder(string folder)
return folder;
}

private IEnumerable<ISyntaxTree> GetReferences()
public IEnumerable<ISyntaxTree> GetReferences()
{
TargetProject.InstallAXSharpDependencies(AxProject.AXSharpReferences);

Expand Down
37 changes: 19 additions & 18 deletions src/apax/apax-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,56 +7,57 @@
"name": "s",
"version": "0.0.0",
"devDependencies": {
"@ax/stc": "6.1.59"
"@ax/stc": "7.1.81"
}
},
"packages": {
"@ax/stc": {
"name": "@ax/stc",
"version": "6.1.59",
"integrity": "sha512-9fSnPIR1Le1i5vA0g13ONfvwWXY6MOM/5+8cDeFvWRh0iIZwviYjCXJ5XM5kv7/wKdkJHZTelQWF6GMPnvWORw==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/stc/-/stc-6.1.59.tgz",
"version": "7.1.81",
"integrity": "sha512-1UTt8x3dca10TrUv5zdzulnVvJlb6zqc7UJJXTVP9+slwxqcTCedt1Pmch1JAHpBDdrnGh1MRBpH8egFsEJ8Gg==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/stc/-/stc-7.1.81.tgz",
"dependencies": {
"@ax/stc-win-x64": "6.1.59",
"@ax/stc-linux-x64": "6.1.59"
"@ax/stc-win-x64": "7.1.81",
"@ax/stc-linux-x64": "7.1.81"
}
},
"@ax/stc-win-x64": {
"name": "@ax/stc-win-x64",
"version": "6.1.59",
"integrity": "sha512-PMI1NqqJlANZyug6ZFsXBP0SFneGKo0nAeUtO7KiKC4LAdmLZ54gOvc6OzxUUhuSrjI1yD1zO9faQP7s/Hu15g==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-win-x64/-/stc-win-x64-6.1.59.tgz",
"version": "7.1.81",
"integrity": "sha512-JRbpVh3SL1GoEsbfoJ52/1BSU082HjS1t64N2N5x1sg+X3bC0waAG6Sjub03D+fOPSAHKS5e/Lgd0p7WLedCPQ==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-win-x64/-/stc-win-x64-7.1.81.tgz",
"os": [
"win32"
],
"cpu": [
"x64"
],
"dependencies": {
"@ax/st-docs": "6.1.59"
"@ax/st-docs": "7.1.81"
}
},
"@ax/stc-linux-x64": {
"name": "@ax/stc-linux-x64",
"version": "6.1.59",
"integrity": "sha512-cggJ3PcIu683s6kTLy0U2bFVOGPvVLjGmWQVp2XB1yC33bZY/HJK28pjJaNUvSOk9AVwgEpDWT15nF99kjN05g==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-linux-x64/-/stc-linux-x64-6.1.59.tgz",
"version": "7.1.81",
"integrity": "sha512-gHajdPn05TMvwCBg/pyHlZmMByNIo5mlQ36AvTm+YaupoxwaJfzX9QIR7mWQ/RbJ4ycaxKwaxgh5H1eG7MCAcg==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-linux-x64/-/stc-linux-x64-7.1.81.tgz",
"os": [
"linux"
],
"cpu": [
"x64"
],
"dependencies": {
"@ax/st-docs": "6.1.59"
"@ax/st-docs": "7.1.81"
}
},
"@ax/st-docs": {
"name": "@ax/st-docs",
"version": "6.1.59",
"integrity": "sha512-yKvjrpe7o6MQYeAHNxkSGtHXWn7sMDSLt0HzqxFSNGiw3OFQwYADSRTEpgi7TETA1u4pBbNTOCie4TDtYyYhiw==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/st-docs/-/st-docs-6.1.59.tgz",
"dependencies": {}
"version": "7.1.81",
"integrity": "sha512-7ps4hmJoHkSjhK0jH4mCu03qsCALSy9pe/FMWdNfBQMXt7PEq7uN4LML0r8orDlyOQgVb2vOcvorZ+n0EtrgKw==",
"resolved": "https://registry.simatic-ax.siemens.io/@ax/st-docs/-/st-docs-7.1.81.tgz",
"dependencies": {},
"deprecated": ""
}
},
"workspaces": {}
Expand Down

0 comments on commit 2468b95

Please sign in to comment.