Skip to content

Commit 25ab50b

Browse files
committed
Standardization 2.0
1 parent 284f9e6 commit 25ab50b

File tree

11 files changed

+118
-77
lines changed

11 files changed

+118
-77
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 'Build and Deploy'
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
VERSION: 1.0.${{ github.run_number }}
8+
9+
jobs:
10+
build:
11+
runs-on: macos-12
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: 1. Versioning Release
17+
run: |
18+
sed -i -e 's/1.0/${{ env.VERSION }}/g' ./AddinInfo.cs
19+
cat ./AddinInfo.cs
20+
working-directory: src/CodingWithCalvin.OpenBinFolder
21+
22+
- name: 2. Restoring Packages
23+
run: dotnet restore src/CodingWithCalvin.OpenBinFolder.sln
24+
25+
- name: 4. Building
26+
run: /Applications/Visual\ Studio.app/Contents/MacOS/vstool build --configuration:Release ${{ github.workspace }}/src/CodingWithCalvin.OpenBinFolder.sln
27+
28+
- name: 5. Packing
29+
run: /Applications/Visual\ Studio.app/Contents/MacOS/vstool setup pack ${{ github.workspace }}/src/CodingWithCalvin.OpenBinFolder/bin/Release/net7.0/CodingWithCalvin.OpenBinFolder.dll -d:${{ github.workspace }}/src
30+
31+
- name: 6. Create Tag & Release
32+
uses: ncipollo/[email protected]
33+
with:
34+
artifacts: ./src/*.mpack
35+
generateReleaseNotes: true
36+
makeLatest: true
37+
token: ${{ secrets.GH_SECRET }}
38+
commit: ${{ github.sha }}
39+
tag: ${{ env.VERSION }}

CodingWithCalvin.OpenBinFolder.VS4Mac/AddinInfo.cs

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

CodingWithCalvin.OpenBinFolder.VS4Mac/Manifest.addin.xml

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Calvin A. Allen
3+
Copyright (c) 2023 Coding With Calvin
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22

33
Open Bin Folder is an extension for Visual Studio for Mac that, when triggered on a project, opens that project's bin folder in Finder.
44

5-
Read more on the [release announcement I posted to my blog](https://www.codingwithcalvin.net/introducing-the-open-bin-folder-visual-studio-for-mac-extension/)
5+
## License
6+
7+
[![License - MIT](https://img.shields.io/github/license/CodingWithCalvin/VS4Mac-OpenBinFolder?style=for-the-badge)](https://img.shields.io/github/license/codingwithcalvin/VS4Mac-OpenBinFolder?style=for-the-badge)
8+
9+
## Build Status
10+
11+
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/CodingWithCalvin/VS4Mac-OpenBinFolder/release_build_and_deploy.yml?style=for-the-badge)
612

713
## Installation
814

915
Until this extension can be made available through public extension source channels, you will need to install it manually.
1016

11-
1. Download the `*.mpack` file from the [most recent release here on the GitHub repository](https://github.com/CalvinAllen/vs4mac-openbinfolder/releases) to your Mac
17+
1. Download the `*.mpack` file from the [most recent release here on the GitHub repository](https://github.com/codingwithcalvin/vs4mac-openbinfolder/releases) to your Mac
1218
i. ![Download the Latest Release](./resources/download-release.png)
1319
2. From within Visual Studio for Mac, open the 'Extensions' dialog from the main menu
1420
i. ![Extension Menu Option](./resources/extension-menu.png)
@@ -23,10 +29,6 @@ Until this extension can be made available through public extension source chann
2329

2430
Enjoy!
2531

26-
## Code of Conduct
27-
28-
Be nice to one another or I will, without hesitation, ban you from this repo. Period.
29-
30-
## Contributing
32+
## Contributions
3133

32-
I always, 100%, welcome issues and PRs!
34+
Contributions are welcome! Issues, PRs, etc. While it may seem this extension is "done", who knows what the future may hold for it?
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 25.0.1705.4
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodingWithCalvin.OpenBinFolder.VS4Mac", "CodingWithCalvin.OpenBinFolder.VS4Mac\CodingWithCalvin.OpenBinFolder.VS4Mac.csproj", "{29E6E9A9-12D3-403C-8832-FFF372C14C26}"
7-
EndProject
8-
Global
9-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10-
Debug|Any CPU = Debug|Any CPU
11-
Release|Any CPU = Release|Any CPU
12-
EndGlobalSection
13-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.Build.0 = Release|Any CPU
18-
EndGlobalSection
19-
GlobalSection(SolutionProperties) = preSolution
20-
HideSolutionNode = FALSE
21-
EndGlobalSection
22-
GlobalSection(ExtensibilityGlobals) = postSolution
23-
SolutionGuid = {D7D76F47-DDE1-42B4-9D71-BD48BACED69C}
24-
EndGlobalSection
25-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 25.0.1705.4
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodingWithCalvin.OpenBinFolder", "CodingWithCalvin.OpenBinFolder\CodingWithCalvin.OpenBinFolder.csproj", "{29E6E9A9-12D3-403C-8832-FFF372C14C26}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {D7D76F47-DDE1-42B4-9D71-BD48BACED69C}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using System;
2+
using Mono.Addins;
3+
4+
[assembly: Addin(Id = "OpenBinFolder", Namespace = "CodingWithCalvin", Version = "1.0")]
5+
[assembly: AddinName("Open Bin Folder")]
6+
[assembly: AddinCategory("IDE extensions")]
7+
[assembly: AddinDescription("A Visual Studio for Mac extension that adds a menu command to each project that opens that project's bin/output folder in Finder.")]
8+
[assembly: AddinAuthor("Coding With Calvin")]

CodingWithCalvin.OpenBinFolder.VS4Mac/CodingWithCalvin.OpenBinFolder.VS4Mac.csproj renamed to src/CodingWithCalvin.OpenBinFolder/CodingWithCalvin.OpenBinFolder.csproj

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
9-
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
10-
<StartAction>Program</StartAction>
11-
<StartProgram>\Applications\Visual Studio.app\Contents\MacOS\VisualStudio</StartProgram>
12-
<StartArguments>--no-redirect</StartArguments>
13-
<ExternalConsole>true</ExternalConsole>
14-
</PropertyGroup>
15-
16-
<ItemGroup>
17-
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.5.0" />
18-
</ItemGroup>
19-
20-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
10+
<StartAction>Program</StartAction>
11+
<StartProgram>\Applications\Visual Studio.app\Contents\MacOS\VisualStudio</StartProgram>
12+
<StartArguments>--no-redirect</StartArguments>
13+
<ExternalConsole>true</ExternalConsole>
14+
</PropertyGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.5.0" />
18+
</ItemGroup>
19+
20+
</Project>

CodingWithCalvin.OpenBinFolder.VS4Mac/CommandEnum.cs renamed to src/CodingWithCalvin.OpenBinFolder/CommandEnum.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace CodingWithCalvin.OpenBinFolder.VS4Mac
3+
namespace CodingWithCalvin.OpenBinFolder
44
{
55
public enum CommandEnum
66
{
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<ExtensionModel>
4+
<Extension path = "/MonoDevelop/Ide/Commands">
5+
<Command id = "CodingWithCalvin.OpenBinFolder.CommandEnum.OpenBinFolder"
6+
_label = "Open Bin Folder"
7+
defaultHandler = "CodingWithCalvin.OpenBinFolder.OpenBinFolderCommand" />
8+
</Extension>
9+
10+
<Extension path="/MonoDevelop/Ide/ContextMenu/ProjectPad">
11+
<CommandItem id="CodingWithCalvin.OpenBinFolder.CommandEnum.OpenBinFolder" />
12+
</Extension>
13+
</ExtensionModel>

0 commit comments

Comments
 (0)