Skip to content

Commit

Permalink
updates to apax 3.0.0 (#270)
Browse files Browse the repository at this point in the history
- fix comparison of apax version package (==)
  • Loading branch information
PTKu authored Dec 4, 2023
1 parent a29123a commit 593146b
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 792 deletions.
15 changes: 14 additions & 1 deletion src/AXSharp.compiler/src/AXSharp.Compiler/AxProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,19 @@ public static SemVersion Parse(string versionStr)

return new SemVersion(major, minor, patch, preRelease, buildMetadata);
}
}
public override bool Equals(object? obj)
{
return obj is SemVersion version &&
Major == version.Major &&
Minor == version.Minor &&
Patch == version.Patch &&
PreRelease == version.PreRelease &&
BuildMetadata == version.BuildMetadata;
}

public override int GetHashCode()
{
return HashCode.Combine(Major, Minor, Patch, PreRelease, BuildMetadata);
}
}
}
375 changes: 0 additions & 375 deletions src/AXSharp.connectors/tests/ax-test-project/apax-lock.json

This file was deleted.

Loading

0 comments on commit 593146b

Please sign in to comment.