pact-foundation / homebrew-pact-ruby-standalone Goto Github PK
View Code? Open in Web Editor NEWThe Pact Ruby Standalone public homebrew tap for macos/linux homebrew formulae
License: MIT License
The Pact Ruby Standalone public homebrew tap for macos/linux homebrew formulae
License: MIT License
brew install fails:
$ brew install pact-ruby-standalone
Error: pact-ruby-standalone: /usr/local/Homebrew/Library/Taps/pact-foundation/homebrew-pact-ruby-standalone/pact-ruby-standalone.rb:12: syntax error, unexpected tIDENTIFIER, expecting end
puts "# Run "pact-mock-service help [COMMAND]"...
^~~~
/usr/local/Homebrew/Library/Taps/pact-foundation/homebrew-pact-ruby-standalone/pact-ruby-standalone.rb:12: syntax error, unexpected tIDENTIFIER, expecting do or '{' or '('
... "# Run "pact-mock-service help [COMMAND]" (for more see htt...
... ^~~~
/usr/local/Homebrew/Library/Taps/pact-foundation/homebrew-pact-ruby-standalone/pact-ruby-standalone.rb:12: syntax error, unexpected tSTRING_BEG, expecting end
...ct-mock-service help [COMMAND]" (for more see https://github...
... ^
I opened PR #60 to fix the issue.
There was some errors in the verification step when new releases are created.
See #83 (comment)
It's failing in CI, with the same error above.
I've changed to the following steps.
- name: Verify tap (⚠️ experimental ⚠️)
run: |
hub checkout version/v${{ github.event.client_payload.version }}
brew install --verbose --debug pact-ruby-standalone.rb
brew audit --strict --online pact-ruby-standalone
I am not sure if installing the formula from the file is correct.
Once it is built, it complains that my gems aren't built correctly.
There is also this audit issue appearing in CI
pact-ruby-standalone:
* 2: col 3: Description is too long. It should be less than 80 characters. The current length is 94.
* Stable: version 1.91.0 is redundant with version scanned from URL
* Libraries were compiled with a flat namespace.
This can cause linker errors due to name collisions, and
is often due to a bug in detecting the macOS version.
/opt/homebrew/Cellar/pact-ruby-standalone/1.91.0/lib/ruby/lib/libyaml-0.2.dylib
These weren't seen before, as the brew pull
command has been deprecated for a couple of years.
It might be okay to merge the PR to master, but I'd like to test it out after, I was hoping I could build it locally and check it all works.
master linux build failing due to hub command no longer available in the image. believe its been replaced by the gh cli
update to make ci green again, and check out other affected pact-foundation repos
As per the pact-node one https://github.com/pact-foundation/pact-node/blob/master/.github/workflows/update.yml
Should be .../v$version/...
(current script missed the v
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.