-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
284f9e6
commit 25ab50b
Showing
11 changed files
with
118 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: 'Build and Deploy' | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
VERSION: 1.0.${{ github.run_number }} | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: 1. Versioning Release | ||
run: | | ||
sed -i -e 's/1.0/${{ env.VERSION }}/g' ./AddinInfo.cs | ||
cat ./AddinInfo.cs | ||
working-directory: src/CodingWithCalvin.OpenBinFolder | ||
|
||
- name: 2. Restoring Packages | ||
run: dotnet restore src/CodingWithCalvin.OpenBinFolder.sln | ||
|
||
- name: 4. Building | ||
run: /Applications/Visual\ Studio.app/Contents/MacOS/vstool build --configuration:Release ${{ github.workspace }}/src/CodingWithCalvin.OpenBinFolder.sln | ||
|
||
- name: 5. Packing | ||
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 | ||
|
||
- name: 6. Create Tag & Release | ||
uses: ncipollo/release-action@v1.14.0 | ||
with: | ||
artifacts: ./src/*.mpack | ||
generateReleaseNotes: true | ||
makeLatest: true | ||
token: ${{ secrets.GH_SECRET }} | ||
commit: ${{ github.sha }} | ||
tag: ${{ env.VERSION }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 25 additions & 25 deletions
50
CodingWithCalvin.OpenBinFolder.sln → src/CodingWithCalvin.OpenBinFolder.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 25.0.1705.4 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodingWithCalvin.OpenBinFolder.VS4Mac", "CodingWithCalvin.OpenBinFolder.VS4Mac\CodingWithCalvin.OpenBinFolder.VS4Mac.csproj", "{29E6E9A9-12D3-403C-8832-FFF372C14C26}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {D7D76F47-DDE1-42B4-9D71-BD48BACED69C} | ||
EndGlobalSection | ||
EndGlobal | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 25.0.1705.4 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodingWithCalvin.OpenBinFolder", "CodingWithCalvin.OpenBinFolder\CodingWithCalvin.OpenBinFolder.csproj", "{29E6E9A9-12D3-403C-8832-FFF372C14C26}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{29E6E9A9-12D3-403C-8832-FFF372C14C26}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {D7D76F47-DDE1-42B4-9D71-BD48BACED69C} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using System; | ||
using Mono.Addins; | ||
|
||
[assembly: Addin(Id = "OpenBinFolder", Namespace = "CodingWithCalvin", Version = "1.0")] | ||
[assembly: AddinName("Open Bin Folder")] | ||
[assembly: AddinCategory("IDE extensions")] | ||
[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.")] | ||
[assembly: AddinAuthor("Coding With Calvin")] |
40 changes: 20 additions & 20 deletions
40
...ingWithCalvin.OpenBinFolder.VS4Mac.csproj → ...der/CodingWithCalvin.OpenBinFolder.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' "> | ||
<StartAction>Program</StartAction> | ||
<StartProgram>\Applications\Visual Studio.app\Contents\MacOS\VisualStudio</StartProgram> | ||
<StartArguments>--no-redirect</StartArguments> | ||
<ExternalConsole>true</ExternalConsole> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.5.0" /> | ||
</ItemGroup> | ||
|
||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' "> | ||
<StartAction>Program</StartAction> | ||
<StartProgram>\Applications\Visual Studio.app\Contents\MacOS\VisualStudio</StartProgram> | ||
<StartArguments>--no-redirect</StartArguments> | ||
<ExternalConsole>true</ExternalConsole> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.5.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
2 changes: 1 addition & 1 deletion
2
...alvin.OpenBinFolder.VS4Mac/CommandEnum.cs → ...ngWithCalvin.OpenBinFolder/CommandEnum.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<ExtensionModel> | ||
<Extension path = "/MonoDevelop/Ide/Commands"> | ||
<Command id = "CodingWithCalvin.OpenBinFolder.CommandEnum.OpenBinFolder" | ||
_label = "Open Bin Folder" | ||
defaultHandler = "CodingWithCalvin.OpenBinFolder.OpenBinFolderCommand" /> | ||
</Extension> | ||
|
||
<Extension path="/MonoDevelop/Ide/ContextMenu/ProjectPad"> | ||
<CommandItem id="CodingWithCalvin.OpenBinFolder.CommandEnum.OpenBinFolder" /> | ||
</Extension> | ||
</ExtensionModel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters