Notices: This section not yet converted to new layout. Download stats are rolling back out.

Pretzel

0.6.0

Package test results are passing.

This package was approved as a trusted package on 1/29/2017.

A simple, pluggable site generation tool for .NET developers and Windows users

To install Pretzel, run the following command from the command line or from PowerShell:

C:\> choco install pretzel

To upgrade Pretzel, run the following command from the command line or from PowerShell:

C:\> choco upgrade pretzel

Files

Hide
  • tools\chocolateyBeforeModify.ps1 Show
    Write-Debug "Migrate Pretzel from BinRoot to normal Chocolatey directory"
    
    $binRoot = Get-BinRoot
    $installDir = Join-Path $binRoot "Pretzel"
    
    # Remove folder
    If (Test-Path $installDir){
        Remove-Item $installDir -Recurse
    }
    
    # Remove path
    
    # get the PATH variable
    $envPath = $env:PATH
    $pathType = [System.EnvironmentVariableTarget]::User
    
    if ($envPath.ToLower().Contains($installDir.ToLower()))
    {
        $statementTerminator = ";"
        Write-Debug "PATH environment variable contains old pretzel path $installDir. Removing..."
        $actualPath = [System.Collections.ArrayList](Get-EnvironmentVariable -Name 'Path' -Scope $pathType).split($statementTerminator)
    
        $actualPath.Remove($installDir)
        $newPath = $actualPath -Join $statementTerminator
    
        Set-EnvironmentVariable -Name 'Path' -Value $newPath -Scope $pathType
    
    } else {
        Write-Debug " The path to uninstall `'$installDir`' was not found in the `'$pathType`' PATH. Could not remove."
    }
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'Pretzel'
    $url = 'https://github.com/Code52/Pretzel/releases/download/v0.6.0/Pretzel.0.6.0.zip'
    
    $binRoot = Get-BinRoot
    $pretzelPath = "$binRoot\$packageName"
    
    Install-ChocolateyZipPackage "$packageName" "$url" $pretzelPath -checksum 53518EC3840FE7370282FEDAC2A7770CD75FC45B2DA68D17D7960F666B1E131C -checksumType sha256
    Install-ChocolateyPath $pretzelPath
    
  • tools\chocolateyUninstall.ps1 Show
    Write-Debug "Uninstall Pretzel"
    
    $binRoot = Get-BinRoot
    $installDir = Join-Path $binRoot "Pretzel"
    
    # Remove folder
    If (Test-Path $installDir){
        Remove-Item $installDir -Recurse
    }
    
    # Remove path
    
    #get the PATH variable
    $envPath = $env:PATH
    $pathType = [System.EnvironmentVariableTarget]::User
    
    if ($envPath.ToLower().Contains($installDir.ToLower()))
    {
        $statementTerminator = ";"
        Write-Debug "PATH environment variable contains old pretzel path $installDir. Removing..."
        $actualPath = [System.Collections.ArrayList](Get-EnvironmentVariable -Name 'Path' -Scope $pathType).split($statementTerminator)
    
        $actualPath.Remove($installDir)
        $newPath = $actualPath -Join $statementTerminator
    
        Set-EnvironmentVariable -Name 'Path' -Value $newPath -Scope $pathType
    
    } else {
        Write-Debug " The path to uninstall `'$installDir`' was not found in the `'$pathType`' PATH. Could not remove."
    }

Virus Scan Results

No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Dependencies

Maintainer(s)

Software Author(s)

  • Code52

Tags

Release Notes

https://github.com/Code52/pretzel/releases

Version History

Version Downloads Last updated Status
Pretzel 0.5.0 187 Saturday, October 29, 2016 approved
Pretzel 0.4.0 449 Saturday, January 23, 2016 approved
Pretzel 0.3.0 74 Saturday, November 28, 2015 approved
Pretzel 0.2.0.42 426 Wednesday, January 28, 2015 approved
Pretzel 0.2.0.41 80 Sunday, January 25, 2015 approved
Pretzel 0.1.0.165 263 Tuesday, November 18, 2014 approved
Pretzel 0.1.0.51 331 Monday, March 19, 2012 approved

Discussion for the Pretzel Package

Ground rules:

  • This discussion is only about Pretzel and the Pretzel package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Pretzel, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus