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
0fdd9946
Commit
0fdd9946
authored
Jul 10, 2017
by
justcoding121
Committed by
justcoding121
Jul 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup build
parent
ce4ed5c4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
19 deletions
+28
-19
default.ps1
.build/default.ps1
+15
-14
Titanium.Web.Proxy.Examples.Wpf.csproj
...Proxy.Examples.Wpf/Titanium.Web.Proxy.Examples.Wpf.csproj
+2
-2
packages.config
Examples/Titanium.Web.Proxy.Examples.Wpf/packages.config
+1
-1
Titanium.Web.Proxy.nuspec
Titanium.Web.Proxy/Titanium.Web.Proxy.nuspec
+10
-2
No files found.
.build/default.ps1
View file @
0fdd9946
...
...
@@ -6,39 +6,42 @@ $SolutionRoot = (Split-Path -parent $Here)
$ProjectName
=
"Titanium.Web.Proxy"
$SolutionFile
=
"
$SolutionRoot
\
$ProjectName
.sln"
$SolutionFile14
=
"
$SolutionRoot
\
$ProjectName
.sln"
$SolutionFile
=
"
$SolutionRoot
\
$ProjectName
.Standard.sln"
## This comes from the build server iteration
if
(!
$BuildNumber
)
{
$BuildNumber
=
$env
:APPVEYOR_BUILD_NUMBER
}
if
(!
$BuildNumber
)
{
$BuildNumber
=
"1"
}
## This comes from the Hg commit hash used to build
if
(!
$CommitHash
)
{
$CommitHash
=
$env
:APPVEYOR_REPO_COMMIT
}
if
(!
$CommitHash
)
{
$CommitHash
=
"local-build"
}
## The build configuration, i.e. Debug/Release
if
(!
$Configuration
)
{
$Configuration
=
$env
:Configuration
}
if
(!
$Configuration
)
{
$Configuration
=
"Release"
}
if
(!
$Version
)
{
$Version
=
$env
:APPVEYOR_BUILD_VERSION
}
if
(!
$Version
)
{
$Version
=
"
2
.0.
$BuildNumber
"
}
if
(!
$Version
)
{
$Version
=
"
1
.0.
$BuildNumber
"
}
if
(!
$Branch
)
{
$Branch
=
$env
:APPVEYOR_REPO_BRANCH
}
if
(!
$Branch
)
{
$Branch
=
"local"
}
if
(
$Branch
-eq
"beta"
)
{
$Version
=
"
$Version
-beta"
}
Import-Module
"
$Here
\Common"
-DisableNameChecking
$NuGet
=
Join-Path
$SolutionRoot
".nuget\nuget.exe"
$MSBuild
=
"
${
env
:ProgramFiles
(x86)
}
\MSBuild\14.0\Bin\msbuild.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
' '
,
'` '
FormatTaskName
((
"-"
*
25
)
+
"[{0}]"
+
(
"-"
*
25
))
Task default -depends Clean, Build, Package
Task Build -depends Restore-Packages
{
exec
{
.
$MSBuild
$SolutionFile
/t:Build /v:normal /p:Configuration
=
$Configuration
}
Task Build
{
exec
{
.
$MSBuild14
$SolutionFile14
/t:Build /v:normal /p:Configuration
=
$Configuration
}
exec
{
.
$MSBuild
$SolutionFile
/t:Build /v:normal /p:Configuration
=
$Configuration
}
}
Task Package -depends Build
{
...
...
@@ -46,17 +49,15 @@ Task Package -depends Build {
}
Task Clean -depends Install-BuildTools
{
Remove-Item
-Path
"
$SolutionRoot
\packages\*"
-Exclude repositories.config -Recurse -Force
Get-ChildItem
.\ -include bin,obj -Recurse |
foreach
(
$_
)
{
Remove-Item
$_
.fullname -Force -Recurse
}
exec
{
.
$MSBuild14
$SolutionFile14
/t:Clean /v:quiet
}
exec
{
.
$MSBuild
$SolutionFile
/t:Clean /v:quiet
}
}
Task Restore-Packages
{
exec
{
.
$NuGet
restore
$SolutionFile
}
}
Task Install-MSBuild
{
if
(!(
Test-Path
"
${
env
:ProgramFiles
(x86)
}
\MSBuild\14.0\Bin\msbuild.exe"
))
if
(!(
Test-Path
$MSBuild14
))
{
cinst microsoft-build-tools -y
}
...
...
Examples/Titanium.Web.Proxy.Examples.Wpf/Titanium.Web.Proxy.Examples.Wpf.csproj
View file @
0fdd9946
...
...
@@ -51,8 +51,8 @@
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"StreamExtended, Version=1.0.
0
.0, Culture=neutral, PublicKeyToken=bbfa0f1d54f50043, processorArchitecture=MSIL"
>
<HintPath>
..\..\packages\StreamExtended.1.0.1
7
\lib\net45\StreamExtended.dll
</HintPath>
<Reference
Include=
"StreamExtended, Version=1.0.
1
.0, Culture=neutral, PublicKeyToken=bbfa0f1d54f50043, processorArchitecture=MSIL"
>
<HintPath>
..\..\packages\StreamExtended.1.0.1
8
\lib\net45\StreamExtended.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"System"
/>
...
...
Examples/Titanium.Web.Proxy.Examples.Wpf/packages.config
View file @
0fdd9946
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"StreamExtended"
version
=
"1.0.1
7
"
targetFramework
=
"net45"
/>
<
package
id
=
"StreamExtended"
version
=
"1.0.1
8
"
targetFramework
=
"net45"
/>
</
packages
>
\ No newline at end of file
Titanium.Web.Proxy/Titanium.Web.Proxy.nuspec
View file @
0fdd9946
...
...
@@ -14,11 +14,19 @@
<copyright>
Copyright
©
Titanium. All rights reserved.
</copyright>
<tags></tags>
<dependencies>
<dependency
id=
"BouncyCastle"
version=
"1.8.1"
/>
<dependency
id=
"StreamExtended"
version=
"1.0.13"
/>
<group>
<dependency
id=
"StreamExtended"
version=
"1.0.18"
/>
</group>
<group
targetFramework=
"net45"
>
<dependency
id=
"BouncyCastle"
version=
"1.8.1"
/>
</group>
<group
targetFramework=
"netstandard1.6"
>
<dependency
id=
"Portable.BouncyCastle"
version=
"1.8.1.2"
/>
</group>
</dependencies>
</metadata>
<files>
<file
src=
"bin\$configuration$\Titanium.Web.Proxy.dll"
target=
"lib\net45"
/>
<file
src=
"bin\$configuration$\netstandard1.6\Titanium.Web.Proxy.*"
target=
"lib\netstandard1.6"
/>
</files>
</package>
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