Skip to content

Commit 0d7a391

Browse files
ci: update generate-accessors parameters
1 parent ccec7db commit 0d7a391

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/generate-accessors.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
param (
22
[Parameter(Mandatory)][string]$RepoName
3+
[string]$MetaDataPath = "$PWD/common-metadata",
4+
[string]$DataType = "IpIntelligence"
35
)
46
$ErrorActionPreference = "Stop"
5-
$PSNativeCommandUseErrorActionPreference = $true
67

7-
./tools/ci/generate-accessors.ps1 @PSBoundParameters
8+
./tools/ci/generate-accessors.ps1 -RepoName:$RepoName -MetaDataPath:$MetaDataPath -DataType:$DataType
89

910
Copy-Item "tools/CSharp/IIpIntelligenceData.cs" "ip-intelligence-dotnet/FiftyOne.IpIntelligence.Shared/Data/"
1011
Copy-Item "tools/CSharp/IpIntelligenceDataBase.cs" "ip-intelligence-dotnet/FiftyOne.IpIntelligence.Shared/"

0 commit comments

Comments
 (0)