chriswalz / homebrew-bit

Bit CLI Homebrew Tap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid syntax on Formula definition

rafifos opened this issue · comments

Operating System: elementary OS 5.1.7 (x86_64)

$ brew --version
Homebrew 2.5.6
Homebrew/linuxbrew-core (git revision a9873e; last commit 2020-10-21)

$ brew install chriswalz/homebrew-bit/bit
==> Tapping chriswalz/bit
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/chriswalz/homebrew-bit'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 48 (delta 11), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (48/48), done.
Error: Invalid formula: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/chriswalz/homebrew-bit/Formula/bit.rb
bit: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/chriswalz/homebrew-bit/Formula/bit.rb:10: syntax error, unexpected tSTRING_BEG, expecting end
    sha256 "84c4d2916e4fb23ab5a8767186dfb...
           ^
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/chriswalz/homebrew-bit/Formula/bit.rb:14: syntax error, unexpected tSTRING_BEG, expecting end
      sha256 "d75e4e54daaa80056d8f9a1d3fb1d...
             ^
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/chriswalz/homebrew-bit/Formula/bit.rb:19: syntax error, unexpected tSTRING_BEG, expecting end
        sha256 "e0b4aeb7620c522381e6eb42e561c...
               ^
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/chriswalz/homebrew-bit/Formula/bit.rb:31: syntax error, unexpected ..., expecting end
    ...
    ^~~
Error: Cannot tap chriswalz/bit: invalid syntax in tap!

Hi @rafifos thanks for filing this issue. Homebrew has not been integrated with bit yet.

Out of curiosity, how did you come across this repo?

The recommended way to update bit for now is to install via curl or go.

Then you can use bit update

Sorry for the late response.

I've just searched in your profile, these tools generally have a Formulae repository.

@rafifos thanks for letting me know. You can now install via brew install bit-git