NEW: Added Repository QoL Fork commands and Windows commands shortcuts for Powershell (#1930)

This commit is contained in:
bmalrat 2024-05-17 09:17:00 -04:00 коммит произвёл GitHub
Родитель 3a454e876b
Коммит a7f5b71ef8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 62 добавлений и 0 удалений

Просмотреть файл

@ -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"
}
]

2
cleangarbage.cmd Normal file
Просмотреть файл

@ -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"

2
format.cmd Normal file
Просмотреть файл

@ -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