-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build scripts. Remove refs to all ServiceStack dlls except ServiceSta…
…ck.Interfaces.
- Loading branch information
1 parent
51e85d2
commit e57fc24
Showing
93 changed files
with
5,347 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
ServiceStack.PartialResponse.ServiceModel/PartialResponseConfigExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
using System; | ||
using System.Linq; | ||
using ServiceStack.Common; | ||
|
||
namespace ServiceStack.Plugins.PartialResponse | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
ServiceStack.PartialResponse.ServiceModel/ServiceStack.PartialResponse.ServiceModel.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>$id$</id> | ||
<version>$version$</version> | ||
<title>$title$</title> | ||
<authors>$author$</authors> | ||
<owners>$author$</owners> | ||
<licenseUrl>https://github.com/AnthonyCarl/ServiceStack.PartialResponse.ServiceModel/blob/master/LICENSE</licenseUrl> | ||
<projectUrl>https://github.com/AnthonyCarl/ServiceStack.PartialResponse.ServiceModel</projectUrl> | ||
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>$description$</description> | ||
<copyright>Copyright © Anthony Carl 2013</copyright> | ||
<tags>PartialResponse ServiceStack REST JSON JSV HTML Service</tags> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packages\psake.4.2.0.1\tools\psake.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Import-Module .\packages\psake.4.2.0.1\tools\psake.psm1 | ||
|
||
properties { | ||
# $home = $psake.build_script_dir + "/../.." | ||
$configuration = "Release" | ||
$projectBaseName = "ServiceStack.PartialResponse.ServiceModel" | ||
$testProjectBaseName = "$projectBaseName.UnitTests" | ||
$testDll = "$testProjectBaseName\bin\$configuration\$testProjectBaseName.dll" | ||
$sln_file = ".\$projectBaseName.sln" | ||
$framework = "4.0" | ||
$xunitRunner = ".\packages\xunit.runners.1.9.1\tools\xunit.console.clr4.exe" | ||
$nugetOutputDir = ".\ReleasePackages" | ||
} | ||
|
||
task Default -depends Pack | ||
|
||
task Compile -depends Clean { | ||
msbuild "$sln_file" /p:Configuration=$configuration | ||
} | ||
|
||
task Clean { | ||
msbuild "$sln_file" /t:Clean /p:Configuration=$configuration | ||
} | ||
|
||
task Test -depends Compile { | ||
.$xunitRunner "$testDll" | ||
} | ||
|
||
task Pack -depends Test { | ||
mkdir -p "$nugetOutputDir" -force | ||
nuget pack "$projectBaseName\$projectBaseName.csproj" -Symbols -Properties Configuration=$configuration -OutputDirectory "$nugetOutputDir" | ||
} | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>psake</id> | ||
<version>4.2.0.1</version> | ||
<title>psake</title> | ||
<authors>James Kovacs</authors> | ||
<owners>James Kovacs</owners> | ||
<projectUrl>https://github.com/psake/psake</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>psake is a build automation tool written in PowerShell. It avoids the angle-bracket tax associated with executable XML by leveraging the PowerShell syntax in your build scripts. psake has a syntax inspired by rake (aka make in Ruby) and bake (aka make in Boo), but is easier to script because it leverages your existent command-line knowledge. psake is pronounced sake - as in Japanese rice wine. It does NOT rhyme with make, bake, or rake. You can also install with chocolatey (http://nuget.org/List/Packages/chocolatey) and have global psake.</description> | ||
<summary>psake is a build automation tool written in PowerShell</summary> | ||
<releaseNotes /> | ||
<copyright /> | ||
<language /> | ||
<tags>build powershell chocolatey</tags> | ||
<references /> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Welcome to the psake project. | ||
============================= | ||
|
||
psake is a build automation tool written in PowerShell. It avoids the angle-bracket tax associated with executable XML by leveraging the PowerShell syntax in your build scripts. | ||
psake has a syntax inspired by rake (aka make in Ruby) and bake (aka make in Boo), but is easier to script because it leverages your existent command-line knowledge. | ||
|
||
psake is pronounced sake – as in Japanese rice wine. It does NOT rhyme with make, bake, or rake. | ||
|
||
## How to get started: | ||
|
||
**Step 1:** Download and extract the project | ||
|
||
You will need to "unblock" the zip file before extracting - PowerShell by default does not run files downloaded from the internet. | ||
Just right-click the zip and click on "properties" and click on the "unblock" button. | ||
|
||
**Step 2:** CD into the directory where you extracted the project (where the psake.psm1 file is) | ||
|
||
> Import-Module .\psake.psm1 | ||
If you encounter the following error "Import-Module : ...psake.psm1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details. | ||
|
||
1. Run PowerShell as administrator | ||
2. Set-ExecutionPolicy RemoteSigned | ||
|
||
> Get-Help Invoke-psake -Full | ||
> - this will show you help and examples of how to use psake | ||
**Step 3:** Run some examples | ||
|
||
> CD .\examples | ||
> | ||
> Invoke-psake | ||
> - This will execute the "default" task in the "default.ps1" | ||
> | ||
> Invoke-psake .\default.ps1 Clean | ||
> - will execute the single task in the default.ps1 script | ||
## How To Contribute, Collaborate, Communicate | ||
|
||
If you'd like to get involved with psake, we have discussion groups over at google: **[psake-dev](http://groups.google.com/group/psake-dev)** **[psake-users](http://groups.google.com/group/psake-users)** | ||
|
||
Anyone can fork the main repository and submit patches, as well. And lastly, the [wiki](http://wiki.github.com/psake/psake/) and [issues list](http://github.com/psake/psake/issues) are also open for additions, edits, and discussion. | ||
|
||
Also check out the **[psake-contrib](http://github.com/psake/psake-contrib)** project for scripts,modules and functions to help you with a build | ||
|
||
## Contributors | ||
|
||
Many thanks for contributions to psake are due (in alphabetical order): | ||
|
||
* candland | ||
* Staxmanade | ||
* lanwin | ||
* smbecker | ||
* stej |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
try { | ||
$nugetPath = $env:ChocolateyInstall | ||
$nugetExePath = Join-Path $nuGetPath 'bin' | ||
$packageBatchFileName = Join-Path $nugetExePath "psake.bat" | ||
|
||
$psakeDir = (Split-Path -parent $MyInvocation.MyCommand.Definition) | ||
#$path = ($psakeDir | Split-Path | Join-Path -ChildPath 'psake.cmd') | ||
$path = Join-Path $psakeDir 'psake.cmd' | ||
Write-Host "Adding $packageBatchFileName and pointing to $path" | ||
"@echo off | ||
""$path"" %*" | Out-File $packageBatchFileName -encoding ASCII | ||
|
||
write-host "PSake is now ready. You can type 'psake' from any command line at any path. Get started by typing 'psake /?'" | ||
|
||
Write-ChocolateySuccess 'psake' | ||
} catch { | ||
Write-ChocolateyFailure 'psake' "$($_.Exception.Message)" | ||
throw | ||
} |
Oops, something went wrong.