chockenberry / Provisioning

A Quick Look plug-in for .mobileprovision files
1.55k stars 67 forks source link

Add Homebrew installation instructions #6

Open dcaunt opened 11 years ago

dcaunt commented 11 years ago

I added a brew cask for version 1.0.4. Cask is an extension for Homebrew which makes it easy to install applications and QuickLook plugins from the command line.

If you have homebrew and homebrew cask installed, simply

brew cask install provisioning

If you don't have homebrew cask installed,

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"

Install Homebrew cask

brew tap phinze/homebrew-cask
brew install brew-cask

Install the Provisioning Quick Look plugin:

brew cask install provisioning
chockenberry commented 11 years ago

The brew cask is for version 1.0.4. Do these instructions need to mention anything about what to do when the next version is released?

dcaunt commented 11 years ago

There's full information on submitting an update to Cask here but the process is this:

Fork https://github.com/phinze/homebrew-cask and edit homebrew-cask/Casks/provisioning.rb

Set the qlplugin value to reflect the new release zip structure:

qlplugin 'Provisioning-1.0.5/Provisioning.qlgenerator'

This is the path that you get if you extract the zip referenced in url

Generate a checksum for the zip reference in url:

shasum -a 256 /path/to/Provisioning-1.0.5.zip

Update the version value to 1.0.5: version '1.0.5'

Verify with:

brew cask audit homebrew-cask/Casks/provisioning.rb --download

and test install

brew cask install homebrew-cask/Casks/provisioning.rb
GabLeRoux commented 7 years ago

This issue can be closed and documentation should be added to readme.

The cask is available here: https://github.com/caskroom/homebrew-cask/blob/master/Casks/provisioning.rb

brew cask install provisioning

Also note that there is no such 1.0.5 version right now, latest version is indeed 1.0.4