Collection of small scripts designed to help maintain the Homebrew-Cask project. The main purpose, however, is to completely automate the process of finding and upgrading outdated casks.
To learn more about each script explore doc directory.
Get the latest available version, checkpoint and download URL(s) from appcast. Learn more...
Scan casks with appcasts for outdated ones and get the latest available version(s). Learn more...
Check homepages of the casks and try to fix them. Learn more...
Suggested by @miccal.
Even though Homebrew-Cask was
created specifically for macOS, most of the scripts provided in the current
repository can be used on Linux. The installation procedure is quite simple:
just clone this repository somewhere on your system and then use install
target of the provided Makefile:
git clone https://github.com/victorpopkov/cask-scripts.git
cd cask-scripts
make install
The same thing goes for uninstallation procedure: just use uninstall
target if
you would like to completely remove cask-scripts
from your system.
The scripts need jq and xmlstarlet to be installed on your system. To install both on Linux just run:
apt-get install jq xmlstarlet
The easiest way to install these scripts on macOS is using my homebrew-tap repository. You’ll need Homebrew installed and then:
brew install victorpopkov/tap/cask-scripts
Alternatively, you can use install target of the provided Makefile the same way as you would install them on Linux. However, using Homebrew is the more recommended way for macOS, since it also installs all the dependencies.
For testing purposes, Bats is bundled
into this project. In order to run the tests simply use test
target of the
provided Makefile: make test
Released under the MIT License.