Hello
I want to install private and custom softwares, how is it possible to do that ?
How Can I execute my private create casks files ?
Thx
You could create your cask (and not send a pull request)...
cd $(brew --repository)/Library/Taps/phinze-cask
brew cask create my-private-cask
brew cask install my-private-cask
Or better yet make an arbitrary Homebrew Tap as @phinze describes below.
Thank you, but if I have already created this cask and want to use it on another computer, what should I do ?
You can duplicate the phinze/homebrew-cask repository and then tap the dupe instead of phinze/homebrew-cask.
Then you can make your duplicated repo private, and push changes to its master or other branches like normal.
You will have to keep the dupe up to date by rebasing or merging with upstream.
Hi @arnogues - there's actually a pretty nice feature you can use for this. We support Casks in arbitrary Homebrew Taps, so if you create your own tap that's private, you can maintain your own set of private Casks in that tap.
Take a look at the following repos for examples of external Taps that contain Casks:
So all you'd need to do once you set up a repo like that (with a homebrew- prefix), is run:
# given a cask like myusername/homebrew-mytap
brew tap myusername/mytap
Then all the Casks in the Casks directory will show up - and you can keep them versioned separately from homebrew-cask itself.
I think this officially handles your use case, feel free to reopen if it does not.
Most helpful comment
Hi @arnogues - there's actually a pretty nice feature you can use for this. We support Casks in arbitrary Homebrew Taps, so if you create your own tap that's private, you can maintain your own set of private Casks in that tap.
Take a look at the following repos for examples of external Taps that contain Casks:
So all you'd need to do once you set up a repo like that (with a
homebrew-prefix), is run:Then all the Casks in the
Casksdirectory will show up - and you can keep them versioned separately from homebrew-cask itself.I think this officially handles your use case, feel free to reopen if it does not.