Giter Club home page Giter Club logo

homebrew-youtube-viewer's Introduction

youtube-viewer Formula for Brew

This formula can be used to easily install youtube-viewer with brew.

Installation

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:

brew tap thekevjames/youtube-viewer
brew install youtube-viewer

Updating

It should "Just Work" with the normal brew procedure, eg.

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:

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.rb

brew upgrade --debug Formula/youtube-viewer.rb

git add Formula/youtube-viewer.rb
git commit -m 'chore: bump version'
git push

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.