Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Titanium-Web-Proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Titanium-Web-Proxy
Commits
fa24180b
Commit
fa24180b
authored
Jul 10, 2017
by
justcoding121
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
experimental build failure fix
parent
0795bef0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
default.ps1
.build/default.ps1
+7
-6
vswhere.exe
.build/vswhere.exe
+0
-0
No files found.
.build/default.ps1
View file @
fa24180b
...
...
@@ -31,16 +31,17 @@ $NuGet = Join-Path $SolutionRoot ".nuget\nuget.exe"
$MSBuild14
=
"
${
env
:ProgramFiles
(x86)
}
\MSBuild\14.0\Bin\msbuild.exe"
$MSBuild
=
"
${
env
:ProgramFiles
(x86)
}
\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe"
$MSBuild
-replace
' '
,
'` '
$MSBuild
=
&
$Here
\vswhere.exe -latest -products
*
-requires Microsoft.Component.MSBuild -property installationPath
if
(
$MSBuild
)
{
$MSBuild
=
join-path
$MSBuild
'MSBuild\15.0\Bin\MSBuild.exe'
}
FormatTaskName
((
"-"
*
25
)
+
"[{0}]"
+
(
"-"
*
25
))
Task default -depends Clean, Build, Package
Task Build
{
exec
{
.
$MSBuild14
$SolutionFile14
/t:Build /v:normal /p:Configuration
=
$Configuration
}
&
$MSBuild
$SolutionFile
/t:Build /v:normal /p:Configuration
=
$Configuration
}
...
...
@@ -50,14 +51,14 @@ Task Package -depends Build {
Task Clean -depends Install-BuildTools
{
Get-ChildItem
.\ -include bin,obj -Recurse |
foreach
(
$_
)
{
Remove-Item
$_
.fullname -Force -Recurse
}
exec
{
.
$MSBuild14
$SolutionFile14
/t:Clean /v:quiet
}
&
$MSBuild
$SolutionFile
/t:Clean /v:quiet
}
Task Install-MSBuild
{
if
(!(
Test-Path
$MSBuild14
))
if
(!(
Test-Path
$MSBuild14
)
-Or
!(
Test-Path
$MSBuild
)
)
{
cinst microsoft-build-tools -y
}
...
...
.build/vswhere.exe
0 → 100644
View file @
fa24180b
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment