-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
0 parents
commit c070e91
Showing
14 changed files
with
792 additions
and
0 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,35 @@ | ||
name: Build Release Artifact | ||
on: | ||
push: | ||
branches: 'master' | ||
jobs: | ||
build: | ||
runs-on: [windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
||
- name: Restore NuGet Packages | ||
run: nuget restore Cammy.sln | ||
|
||
- name: Download Dalamud | ||
run: | | ||
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip | ||
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\" | ||
- name: Build | ||
run: msbuild Cammy.sln /p:Configuration=Release | ||
|
||
- name: Extract Publish | ||
run: | | ||
Expand-Archive -Force ./Publish/latest.zip ./Artifact | ||
- name: Upload Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: ./Artifact/* |
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 @@ | ||
|
||
obj/ | ||
|
||
.vs/ | ||
|
||
bin/ | ||
|
||
Publish/ |
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,15 @@ | ||
using System; | ||
|
||
namespace Cammy.Attributes | ||
{ | ||
[AttributeUsage(AttributeTargets.Method)] | ||
public class AliasesAttribute : Attribute | ||
{ | ||
public string[] Aliases { get; } | ||
|
||
public AliasesAttribute(params string[] aliases) | ||
{ | ||
Aliases = aliases; | ||
} | ||
} | ||
} |
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,15 @@ | ||
using System; | ||
|
||
namespace Cammy.Attributes | ||
{ | ||
[AttributeUsage(AttributeTargets.Method)] | ||
public class CommandAttribute : Attribute | ||
{ | ||
public string Command { get; } | ||
|
||
public CommandAttribute(string command) | ||
{ | ||
Command = command; | ||
} | ||
} | ||
} |
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,9 @@ | ||
using System; | ||
|
||
namespace Cammy | ||
{ | ||
[AttributeUsage(AttributeTargets.Method)] | ||
public class DoNotShowInHelpAttribute : Attribute | ||
{ | ||
} | ||
} |
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,15 @@ | ||
using System; | ||
|
||
namespace Cammy.Attributes | ||
{ | ||
[AttributeUsage(AttributeTargets.Method)] | ||
public class HelpMessageAttribute : Attribute | ||
{ | ||
public string HelpMessage { get; } | ||
|
||
public HelpMessageAttribute(string helpMessage) | ||
{ | ||
HelpMessage = helpMessage; | ||
} | ||
} | ||
} |
Oops, something went wrong.