NEW: Added Repository QoL Fork commands and Windows commands shortcuts for Powershell (#1930)
This commit is contained in:
Родитель
3a454e876b
Коммит
a7f5b71ef8
|
@ -0,0 +1,49 @@
|
|||
[
|
||||
{
|
||||
"version" : 1
|
||||
},
|
||||
{
|
||||
"action" : {
|
||||
"type" : "url",
|
||||
"url" : "https://github.com/Unity-Technologies/InputSystem/compare/develop...${ref:short}?expand=1"
|
||||
},
|
||||
"name" : "GitHub: Create PR for branch",
|
||||
"refTargets" : [
|
||||
"localbranch",
|
||||
"remotebranch"
|
||||
],
|
||||
"target" : "ref"
|
||||
},
|
||||
{
|
||||
"action" : {
|
||||
"type" : "url",
|
||||
"url" : "https://github.com/Unity-Technologies/InputSystem/tree/${ref:short}"
|
||||
},
|
||||
"name" : "GitHub: Open branch",
|
||||
"refTargets" : [
|
||||
"localbranch",
|
||||
"remotebranch"
|
||||
],
|
||||
"target" : "ref"
|
||||
},
|
||||
{
|
||||
"action" : {
|
||||
"type" : "url",
|
||||
"url" : "https://unity-ci.cds.internal.unity3d.com/project/130"
|
||||
},
|
||||
"name" : "View on Yamato",
|
||||
"target" : "repository"
|
||||
},
|
||||
{
|
||||
"action" : {
|
||||
"type" : "url",
|
||||
"url" : "https://unity-ci.cds.internal.unity3d.com/project/130/branch/${ref:short}"
|
||||
},
|
||||
"name" : "Yamato: Open branch",
|
||||
"refTargets" : [
|
||||
"localbranch",
|
||||
"remotebranch"
|
||||
],
|
||||
"target" : "ref"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,2 @@
|
|||
REM Use this script if you don't want to enable script executions on your system
|
||||
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& .\cleangarbage.ps1"
|
|
@ -0,0 +1,2 @@
|
|||
REM Use this script if you don't want to enable script executions on your system
|
||||
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& .\format.ps1"
|
|
@ -1,2 +1,11 @@
|
|||
if ( Test-Path ${Home}/unity-meta )
|
||||
{
|
||||
git -C ${Home}/unity-meta fetch
|
||||
git -C ${Home}/unity-meta pull
|
||||
}
|
||||
else
|
||||
{
|
||||
git clone git@github.cds.internal.unity3d.com:unity/unity-meta.git ${Home}/unity-meta
|
||||
}
|
||||
perl "${Home}/unity-meta/Tools/Format/format.pl" Assets Packages
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче