Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy linked binaries if available + some cleanup #472

Merged
merged 7 commits into from
Feb 14, 2024
Merged

Conversation

adrianstevens
Copy link
Contributor

No description provided.

@ctacke ctacke merged commit e7f75c0 into develop Feb 14, 2024
1 check passed
@ctacke ctacke deleted the linked_deploy branch February 14, 2024 00:59
@@ -14,12 +15,12 @@ private static bool MatchingDllExists(string file)

private static bool IsPdb(string file)
{
return String.Compare(Path.GetExtension(file), ".pdb", StringComparison.OrdinalIgnoreCase) == 0;
return string.Compare(Path.GetExtension(file), ".pdb", StringComparison.OrdinalIgnoreCase) == 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is bool string.Equals(string, string, StringComparison) available here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah the CLI is a .NET 8 app so I get the fancy APIs ;)

Source/v2/Meadow.Cli/AppManager.cs Show resolved Hide resolved
if (File.Exists(rootFolder))
{
rootFolder = Path.GetDirectoryName(rootFolder) ?? ""; // extreact the folder name or if invalid, use the current directory.
rootFolder = Path.GetDirectoryName(rootFolder) ?? ""; // extreact the folder name or if invalid, use the current directory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit on "extreact"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice - I'll fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants