Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thekevjames/homebrew-youtube-viewer
youtube-viewer Formula for Homebrew
https://github.com/thekevjames/homebrew-youtube-viewer
brew formulae homebrew tap youtube-viewer
Last synced: 2 months ago
JSON representation
youtube-viewer Formula for Homebrew
- Host: GitHub
- URL: https://github.com/thekevjames/homebrew-youtube-viewer
- Owner: TheKevJames
- License: mit
- Created: 2020-02-17T04:41:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T15:27:19.000Z (7 months ago)
- Last Synced: 2024-05-23T00:09:53.020Z (7 months ago)
- Topics: brew, formulae, homebrew, tap, youtube-viewer
- Language: Ruby
- Size: 101 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.rst
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
youtube-viewer Formula for Brew
===============================This formula can be used to easily install `youtube-viewer`_ with `brew`_.
Installation
------------.. code-block:: console
brew install thekevjames/youtube-viewer/youtube-viewer
Note that the above is shorthand for the following two commands, if you want
to handle 'em differently:.. code-block:: console
brew tap thekevjames/youtube-viewer
brew install youtube-viewerUpdating
--------It should "Just Work" with the normal ``brew`` procedure, eg.
.. code-block:: console
brew upgrade youtube-viewer
Why a Tap?
----------At some point, I'll get around to including this directly in `homebrew-core`_.
They've asked I `write functional tests`_ against the YouTube API before this
can be merged -- which is totally reasonable, but since 99% of my motivation
is just to be able to use this myself and its not even my project in the first
place...Maintaining
-----------.. note::
This section is mostly just a reminder for myself, feel free to ignore!
To update a new version:
.. code-block:: console
sed -i '' 's/3.5.6/3.7.4/g' Formula/youtube-viewer.rb
curl -Lo foo.tar.gz https://github.com/trizen/youtube-viewer/archive/3.7.4.tar.gz
sha=$(shasum -a 256 foo.tar.gz | cut -d' ' -f1)
rm foo.tar.gz
sed -i '' '5s/ sha256 ".*"/ sha256 "'"${sha}"'"/' Formula/youtube-viewer.rbbrew upgrade --debug Formula/youtube-viewer.rb
git add Formula/youtube-viewer.rb
git commit -m 'chore: bump version'
git push.. _brew: https://brew.sh/
.. _homebrew-core: https://github.com/Homebrew/homebrew-core
.. _write functional tests: https://github.com/Homebrew/homebrew-core/pull/43254
.. _youtube-viewer: https://github.com/trizen/youtube-viewer