Skip to content

Commit

Permalink
Merge pull request #156 from AvaloniaUI/revert-post-actions-for-xplat
Browse files Browse the repository at this point in the history
Revert post actions for xplat templates
  • Loading branch information
Takoooooo authored Jan 11, 2023
2 parents b528e20 + a1d8cf5 commit 2b0b0d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 58 deletions.
30 changes: 1 addition & 29 deletions templates/csharp/xplat/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,34 +27,6 @@
],
"replaces": "FrameworkParameter",
"defaultValue": "net7.0"
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
}
},
"primaryOutputs": [
{ "path": "AvaloniaTest/AvaloniaTest.csproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "AvaloniaTest/ViewModels/MainViewModel.cs"
},
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "AvaloniaTest/Views/MainView.axaml"
}
],
"postActions": [
{
"id": "editor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens MainView and MainViewModel in the editor",
"manualInstructions": [ ],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "1;2"
},
"continueOnError": true
}
]
}
}
30 changes: 1 addition & 29 deletions templates/fsharp/xplat/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,34 +27,6 @@
],
"replaces": "FrameworkParameter",
"defaultValue": "net7.0"
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
}
},
"primaryOutputs": [
{ "path": "AvaloniaTest/AvaloniaTest.fsproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "AvaloniaTest/ViewModels/MainViewModel.fs"
},
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "AvaloniaTest/Views/MainView.axaml"
}
],
"postActions": [
{
"id": "editor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens MainView and MainViewModel in the editor",
"manualInstructions": [ ],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "1;2"
},
"continueOnError": true
}
]
}
}

0 comments on commit 2b0b0d0

Please sign in to comment.