-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate to nuke/power apps cli/sdk-style projects (#46)
- Loading branch information
Showing
96 changed files
with
1,487 additions
and
2,753 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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
[*.generated.cs] | ||
generated_code = true | ||
generated_code = true | ||
[*.cs] | ||
|
||
# SA0001: XML comment analysis disabled | ||
dotnet_diagnostic.SA0001.severity = none |
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 @@ | ||
DevelopmentHub.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
// Use IntelliSense to find out which attributes exist for C# debugging | ||
// Use hover for the description of the existing attributes | ||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/build/bin/Debug/netcoreapp3.1/_build.dll", | ||
"args": [], | ||
"cwd": "${workspaceFolder}/build", | ||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "${command:pickProcess}" | ||
} | ||
] | ||
} |
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,131 +1,154 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "shell", | ||
"label": "Build Package", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"Default\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Build Solution", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"BuildSolution\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Generate Model", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"GenerateModel\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Extract Solution", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"ExtractSolution\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Pack Solution", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"PackSolution\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Deploy Plugins", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"DeployPlugins\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Deploy Workflow Activities", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"DeployWorkflowActivities\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Build Development Environment", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"BuildDevelopmentEnvironment\"", | ||
"-ScriptArgs \"--solution=${input:solution}\"" | ||
], | ||
"problemMatcher": [] | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "solution", | ||
"description": "The solution to execute the task for.", | ||
"type": "pickString", | ||
"options": [ | ||
"devhub_DevelopmentHub_Issues", | ||
"devhub_DevelopmentHub_Develop", | ||
"devhub_DevelopmentHub_AzureDevOps" | ||
] | ||
}, | ||
{ | ||
"id": "dataType", | ||
"description": "Type of data.", | ||
"type": "pickString", | ||
"options": [ | ||
"PreDeployment", | ||
"PostDeployment" | ||
] | ||
}, | ||
{ | ||
"id": "url", | ||
"type": "promptString", | ||
"description": "Environment URL." | ||
}, | ||
{ | ||
"id": "username", | ||
"type": "promptString", | ||
"description": "Environment usename." | ||
} | ||
] | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "shell", | ||
"label": "Extract solution", | ||
"detail": "Exports a solution and extracts its metadata into source control", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"--target extract-solution", | ||
"--DataverseSolution ${input:solution}" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Pack solution", | ||
"detail": "Packs a managed or unmanaged solution zip file.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"--target packs-solution", | ||
"--DataverseSolution ${input:solution}", | ||
"--SolutionType ${input:solutionType}" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Clean", | ||
"detail": "Deletes all build outputs.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"--target clean", | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Restore", | ||
"detail": "Restores all package references.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"--target restore", | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Compile", | ||
"detail": "Builds a managed or unmanaged Package Deployer package.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"--target compile", | ||
"--SolutionType ${input:solutionType}" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Compile tests", | ||
"detail": "Compiles the test projects.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"--target compile-tests", | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Prepare development environment", | ||
"detail": "Prepares a development environment for the selected solution.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"prepare-development-environment\"", | ||
"--DataverseSolution ${input:solution}", | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Deploy plug-ins", | ||
"detail": "Deploys plug-ins for a solution using spkl.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"deploy-plugins\"", | ||
"--DataverseSolution ${input:solution}", | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Deploy workflow activities", | ||
"detail": "Deploys workflow activities for a solution using spkl.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"deploy-workflow-activities\"", | ||
"--DataverseSolution ${input:solution}", | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "Generate early-bound model", | ||
"detail": "Generates an early-bound model for a solution using spkl.", | ||
"command": [ | ||
"powershell", | ||
"-ExecutionPolicy ByPass", | ||
"-File build.ps1", | ||
"-Target \"generate-model\"", | ||
"--DataverseSolution ${input:solution}", | ||
], | ||
"problemMatcher": [] | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "solution", | ||
"description": "The solution to execute the task for.", | ||
"type": "pickString", | ||
"options": [ | ||
"devhub_DevelopmentHub_Issues", | ||
"devhub_DevelopmentHub_Develop", | ||
"devhub_DevelopmentHub_AzureDevOps" | ||
] | ||
}, | ||
{ | ||
"id": "solutionType", | ||
"description": "Type of solution.", | ||
"type": "pickString", | ||
"options": [ | ||
"Managed", | ||
"Unmanaged" | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.