-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0c4cfe6
Showing
8 changed files
with
79 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.nupkg | ||
*.dll |
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,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package > | ||
<metadata> | ||
<id>Spe.Abstractions</id> | ||
<version>$version</version> | ||
<title>Sitecore PowerShell Extensions</title> | ||
<authors>Alan Płócieniak</authors> | ||
<owners>Adam Najmanowicz, Michael West</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<license type="expression">MIT</license> | ||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl> | ||
<icon>icon.png</icon> | ||
<projectUrl>https://github.com/SitecorePowerShell/Console</projectUrl> | ||
<description>A command line and scripting tool built for the Sitecore platform.</description> | ||
<copyright>© 2010-$YTD Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions</copyright> | ||
<tags>Sitecore PowerShell</tags> | ||
<dependencies> | ||
<group targetFramework=".NETFramework4.5.2" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package > | ||
<metadata> | ||
<id>Spe</id> | ||
<version>$version</version> | ||
<title>Sitecore PowerShell Extensions</title> | ||
<authors>Alan Płócieniak</authors> | ||
<owners>Adam Najmanowicz, Michael West</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<license type="expression">MIT</license> | ||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl> | ||
<icon>icon.png</icon> | ||
<projectUrl>https://github.com/SitecorePowerShell/Console</projectUrl> | ||
<description>A command line and scripting tool built for the Sitecore platform.</description> | ||
<copyright>© 2010-$YTD Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions</copyright> | ||
<tags>Sitecore PowerShell</tags> | ||
<dependencies> | ||
<group targetFramework=".NETFramework4.5.2"> | ||
<dependency id="Spe.Abstractions" version="$version" /> | ||
</group> | ||
</dependencies> | ||
</metadata> | ||
</package> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
# SitecorePowerShell.NuGet | ||
|
||
Packages available via [**nuget.org**](https://www.nuget.org) | ||
|
||
- [https://www.nuget.org/packages/Spe](https://www.nuget.org/packages/Spe) | ||
- [https://www.nuget.org/packages/Spe.Abstractions](https://www.nuget.org/packages/Spe.Abstractions) | ||
|
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,20 @@ | ||
$version = "6.3" | ||
function Expand-Variables { | ||
param ( | ||
[Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true )] | ||
$File | ||
) | ||
$YTD = (Get-Date).Year | ||
$template = Get-Content $File.FullName | ||
$template = $template.Replace("`$version", $version) | ||
$template = $template.Replace("`$YTD", $YTD) | ||
$template | Set-Content -Path $File.FullName | ||
} | ||
|
||
".\.nuspec\Spe", ".\.nuspec\Spe.Abstractions" | % { | ||
Push-Location $_ | ||
Get-Item *.nupkg | Remove-Item | ||
Get-Item *.nuspec | Expand-Variables | ||
nuget pack | ||
Pop-Location | ||
} |
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,6 @@ | ||
Clear-Host | ||
$path = 'C:\repo\SitecorePowerShell\src\Spe\bin\Debug\Spe.dll' | ||
[Reflection.Assembly]::ReflectionOnlyLoadFrom($path).CustomAttributes | ` | ||
? { $_.AttributeType.Name -eq "TargetFrameworkAttribute" } | ` | ||
Select-Object -ExpandProperty ConstructorArguments | ` | ||
Select-Object -ExpandProperty value |