FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpp-docs/.openpublishing.build.ps1 at master · cpplearner/cpp-docs · GitHub
cpplearner
/
cpp-docs
Public
forked from
MicrosoftDocs/cpp-docs
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
cpp-docs
/
.openpublishing.build.ps1
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (15 loc) · 729 Bytes
Breadcrumbs
cpp-docs
/
.openpublishing.build.ps1
Copy path
File metadata and controls
17 lines (15 loc) · 729 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
param
(
[
string
]
$buildCorePowershellUrl
=
"
https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1
"
,
[
string
]
$parameters
)
#
Main
$errorActionPreference
=
'
Stop
'
#
Step-1: Download buildcore script to local
echo
"
download build core script to local with source url:
$buildCorePowershellUrl
"
$repositoryRoot
=
Split-Path
-
Parent
$MyInvocation
.MyCommand.Definition
$buildCorePowershellDestination
=
"
$repositoryRoot
\.openpublishing.buildcore.ps1
"
Invoke-WebRequest
$buildCorePowershellUrl
-
OutFile
"
$buildCorePowershellDestination
"
#
Step-2: Run build core
echo
"
run build core script with parameters:
$parameters
"
&
"
$buildCorePowershellDestination
"
"
$parameters
"
exit
$LASTEXITCODE
Back
|
FazBrowse Home
|
New Git URL