How to install V-REP with 3 lines of code
Code: Select all
# If you don't have homebrew run the following:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# If you don't have Homebrew Cask run the following:
brew install caskroom/cask/brew-cask
# Install V-REP
brew cask install vrep
How to update V-REP with 1 line of code
Code: Select all
# warning: this may delete files in your vrep's executable folder, backup first
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup
How to use homebrew cask
Installer script:
https://github.com/caskroom/homebrew-ca ... ks/vrep.rb
Updating installer script for new versions
- If you don't know github read the github bootcamp
- fork/clone the homebrew-cask repository in github (login then hit fork button on page)
- clone it locally
- open vrep.rb
- increment the version number
- download the zip file
- run the following on the zip so you can get the new sha checksum:
Code: Select all
shasum -a 256 ~/Downloads/V-REP_PRO_EDU_V3_2_2_Mac.zip 9aa17c04d2e61fcd0ae2270c22b0a460beea9c86819636912cd9051237b446ff /Users/vrep/Downloads/V-REP_PRO_EDU_V3_2_2_Mac.zip
- Copy the checksum over the existing one in vrep.rb.
Checksum example: "9aa17c04d2e61fcd0ae2270c22b0a460beea9c86819636912cd9051237b446ff" - Commit the changes, preferably with a message like "vrep.rb updated to 3.2.2"
- Push to your fork (see github help for instructions on this)
- Browse to the homebrew-cask github repository.
- An update should appear saying you can submit a pull request, click it.
- Submit the pull request
- It will be run through continuous integration then someone should merge it!
- Be sure to check back and make sure there weren't problems.