mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-09-26 15:26:21 +00:00
Add $dir parameter to auto-pr
This commit is contained in:
+5
-1
@@ -10,11 +10,15 @@
|
||||
|
||||
param(
|
||||
[String]$upstream = "lukesampson/scoop:master",
|
||||
[String]$dir,
|
||||
[Switch]$push = $false,
|
||||
[Switch]$request = $false,
|
||||
[Switch]$help = $false
|
||||
)
|
||||
|
||||
if(!$dir) { $dir = "$psscriptroot\.." }
|
||||
$dir = resolve-path $dir
|
||||
|
||||
. "$psscriptroot\..\lib\manifest.ps1"
|
||||
. "$psscriptroot\..\lib\json.ps1"
|
||||
|
||||
@@ -104,7 +108,7 @@ if($push -eq $true) {
|
||||
execute("hub push origin master")
|
||||
}
|
||||
|
||||
. "$psscriptroot\checkver.ps1" * -u
|
||||
. "$dir\bin\checkver.ps1" * -update
|
||||
|
||||
hub diff --name-only | % {
|
||||
$manifest = $_
|
||||
|
||||
Reference in New Issue
Block a user